diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dd81f4e3..31ebd46a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,7 @@ jobs: build-linux: needs: pre_job - if: needs.pre_job.outputs.should_skip != 'true' + if: needs.pre_job.outputs.should_skip != 'true' || startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest @@ -48,7 +48,7 @@ jobs: build-mac: needs: pre_job - if: needs.pre_job.outputs.should_skip != 'true' + if: needs.pre_job.outputs.should_skip != 'true' || startsWith(github.ref, 'refs/tags/') runs-on: macos-latest