CI: move continue-on-error from steps to job
See https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/#expressions-in-jobcontinue-on-error
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
{ msystem: UCRT64, arch: ucrt-x86_64, can-fail: false }
|
||||
]
|
||||
name: ${{ matrix.msystem }}
|
||||
continue-on-error: ${{ matrix.can-fail }}
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
@@ -50,14 +51,12 @@ jobs:
|
||||
|
||||
- name: CI-Build
|
||||
shell: msys2 {0}
|
||||
continue-on-error: ${{ matrix.can-fail }}
|
||||
run: |
|
||||
cd /C/_
|
||||
MINGW_ARCH=${{ matrix.msystem }} ./.ci/ci-build.sh
|
||||
|
||||
- name: "Upload binaries"
|
||||
uses: actions/upload-artifact@v2
|
||||
continue-on-error: ${{ matrix.can-fail }}
|
||||
with:
|
||||
name: ${{ matrix.msystem }}-packages
|
||||
path: C:/_/artifacts/*.pkg.tar.*
|
||||
|
||||
Reference in New Issue
Block a user