github: always generate artifacts for a release

This commit is contained in:
Valentin Tolmer 2023-04-11 14:48:26 +02:00 committed by nitnelave
parent 7f9bc95c5c
commit 252132430c

View File

@ -84,7 +84,7 @@ jobs:
build-ui: build-ui:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: pre_job needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.event_name == 'release' }}
container: container:
image: nitnelave/rust-dev:latest image: nitnelave/rust-dev:latest
steps: steps:
@ -123,7 +123,7 @@ jobs:
build-bin: build-bin:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: pre_job needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.event_name == 'release' }}
strategy: strategy:
matrix: matrix:
target: [armv7-unknown-linux-gnueabihf, aarch64-unknown-linux-musl, x86_64-unknown-linux-musl] target: [armv7-unknown-linux-gnueabihf, aarch64-unknown-linux-musl, x86_64-unknown-linux-musl]