chore: CI: fix release job

This commit is contained in:
Sebastian Ullrich 2022-03-23 19:33:25 +01:00
parent be7c71d1c8
commit 8a5febf130

View file

@ -196,9 +196,13 @@ jobs:
if: matrix.name == 'Linux'
- name: CCache stats
run: ccache -s
release:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
# When GitHub says "If a job fails, all jobs that need it are skipped unless
# the jobs use a conditional expression that causes the job to continue.", don't believe
# their lies. It's actually the entire closure (i.e. including `set-nightly`) that
# must succeed for subsequent to be run without `always()`.
if: always() && needs.build.result == 'success' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build
steps: