ci: upload artifacts regardless build failure

This commit is contained in:
anatawa12 2026-05-31 00:28:53 +09:00
commit 00fb4d8546
No known key found for this signature in database
GPG key ID: BD2F16922830A7DC
2 changed files with 4 additions and 0 deletions

View file

@ -287,6 +287,7 @@ jobs:
cargo xtask sign-alcom-updater "target/${{ matrix.triple }}/release/${UPDATER_BUNDLE}"
- name: Move artifacts
if: ${{ !cancelled() }}
shell: bash
env:
GUI_VERSION: ${{ needs.pre-build.outputs.gui-version }}
@ -305,6 +306,7 @@ jobs:
done
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: artifacts-${{ matrix.name }}
path: artifacts/*

View file

@ -193,6 +193,7 @@ jobs:
cargo xtask check-static-link target/${{ matrix.triple }}/release/vrc-get${WINDIR:+.exe}
- name: Move artifacts
if: ${{ !cancelled() }}
shell: bash
run: |-
mkdir artifacts
@ -203,6 +204,7 @@ jobs:
popd
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: artifacts-${{ matrix.triple }}
path: artifacts/*