diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f3dcc1d7d..ce47cf44ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: