ci: Disable attestation step if nothing's been built
This commit is contained in:
parent
fdc39352aa
commit
7d7e4256bd
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release-plz.yml
vendored
1
.github/workflows/release-plz.yml
vendored
|
@ -30,5 +30,6 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }}
|
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }}
|
||||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
- uses: actions/attest-build-provenance@v1
|
- uses: actions/attest-build-provenance@v1
|
||||||
|
if: ${{ steps.release-plz.outputs.releases_created }}
|
||||||
with:
|
with:
|
||||||
subject-path: ${{ github.workspace }}/target/release/libzip.rlib
|
subject-path: ${{ github.workspace }}/target/release/libzip.rlib
|
||||||
|
|
Loading…
Add table
Reference in a new issue