From 7d7e4256bdc1f9446e6edc51b5a8741c6b630fba Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Tue, 21 May 2024 12:13:17 -0700 Subject: [PATCH] ci: Disable attestation step if nothing's been built --- .github/workflows/release-plz.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 402d62138..3482b9b7b 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -30,5 +30,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - uses: actions/attest-build-provenance@v1 + if: ${{ steps.release-plz.outputs.releases_created }} with: subject-path: ${{ github.workspace }}/target/release/libzip.rlib