Skip to content

Commit 542c307

Browse files
committed
A variation of attestation to get the asset name right.
1 parent 8866957 commit 542c307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ jobs:
5555
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5656
run: npm run save-to-github
5757
- name: Attest
58+
if: env.CREATED_ASSET_NAME != ''
5859
uses: actions/attest-build-provenance@v2
5960
with:
61+
subject-name: '${{ env.CREATED_ASSET_NAME }}'
6062
subject-path: '${{ github.workspace }}/build/Release/re2.node'
6163

6264
build-linux-node-20:

0 commit comments

Comments
 (0)