Skip to content

Commit a264049

Browse files
committed
ci: skip attested publish when signing secrets are missing
1 parent b39f2de commit a264049

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535

3636
publish-attested:
37+
if: ${{ secrets.NUGET_SIGN_CERTIFICATE_BASE64 != '' && secrets.NUGET_SIGN_CERTIFICATE_PASSWORD != '' && secrets.NUGET_SIGN_CERTIFICATE_SHA256_FINGERPRINT != '' && secrets.NUGET_SIGN_TIMESTAMP_URL != '' }}
3738
needs: update-release-draft
3839
uses: ./.github/workflows/publish-attested.yml
3940
with:

0 commit comments

Comments
 (0)