Skip to content

Commit 888db19

Browse files
authored
Merge pull request #80 from rowkav09/rowkav09-patch-8
release: support private repository publishing
2 parents a66a259 + 0b6f5f8 commit 888db19

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
- uses: actions/download-artifact@v4
5151
with:
5252
name: release-${{ github.ref_name }}
53-
- uses: actions/attest-build-provenance@v2
53+
- name: Attest public-repository build provenance
54+
if: ${{ github.event.repository.visibility == 'public' }}
55+
uses: actions/attest-build-provenance@v2
5456
with:
5557
subject-path: nowplaying-${{ github.ref_name }}.tar.gz
5658
- env:

0 commit comments

Comments
 (0)