diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 16cd7354533..32fe712de98 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -133,12 +133,12 @@ jobs: build_result: name: Result runs-on: ubuntu-latest - # Integrity check is broken for the time being; don't require it. needs: ["mac", "linux", "windows"] + if: ${{ always() && github.event_name == 'push' }} steps: - name: Mark the job as successful run: exit 0 - if: success() + if: ${{ success() }} - name: Mark the job as unsuccessful run: exit 1 - if: "!success()" + if: ${{ !success() }}