Download unzip commit #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main-Workflow | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
bump-dev-version: # only do that when actually merging in main/develop branch | |
if: github.event_name != 'pull_request' | |
uses: ./.github/workflows/bump-dev-version.yaml | |
secrets: inherit | |
download-and-unzip-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Download package | |
run: wget https://ci.appveyor.com/api/buildjobs/6doci1654f5xsjlw/artifacts/package.zip -O /tmp/package.zip | |
- name: Unzip package | |
run: | | |
unzip -o /tmp/package.zip -d inst/lib > unzip_log.txt 2>&1 || (cat unzip_log.txt && exit 1) | |
- name: Display unzip log if failed | |
if: failure() | |
run: cat unzip_log.txt | |
- name: Test C# binaries | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'Update Windows C# binaries (Commit from Github Actions).' | |
default_author: github_actions | |
add: '*.dll' | |
R-CMD-Check: | |
if: ${{ always() }} | |
needs: [bump-dev-version] | |
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/R-CMD-check-build.yml@main | |
with: | |
install-pksim: true | |
install-rClr: false | |
extra-packages: | | |
test-coverage: | |
if: ${{ always() }} | |
needs: [R-CMD-Check] | |
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/test-pkg-and-coverage.yml@main | |
with: | |
install-pksim: true | |
install-rClr: false | |
extra-packages: | | |
pkgdown: | |
if: ${{ always() }} | |
needs: [R-CMD-Check] | |
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/pkgdown.yml@main | |
with: | |
install-pksim: true | |
install-rClr: false | |
extra-packages: | |