ci: upload build artifacts on dry run

This commit is contained in:
Nicolas Giard 2022-04-14 16:43:55 -04:00 committed by GitHub
parent 3099fe267b
commit 01ee23cce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@ jobs:
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2.3.1
if: env.SHOULD_DEPLOY == 'false'
if: ${{ env.SHOULD_DEPLOY == 'false' || github.event.inputs.dryrun == 'true' }}
with:
name: release
path: /home/runner/work/release/release.tar.gz