File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 with :
4646 fail-on-unsigned : true
4747
48- verify-artifacts :
49- runs-on : ubuntu-latest
50- needs : build-and-test
51- steps :
52- - uses : actions/checkout@v4
53- with :
54- fetch-depth : 0
55-
56- - name : Verify dist/index.js attestation
57- uses : ./
58- with :
59- identity-bundle-json : ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE_JSON }}
60- artifact-paths : ' dist/index.js'
61- fail-on-unattested : true
Original file line number Diff line number Diff line change 7575
7676 echo "Signed dist/index.js → dist/index.js.auths.json"
7777
78+ # --- Verify the artifact we just signed (dogfood) ---
79+ - name : Verify dist/index.js attestation
80+ if : hashFiles('dist/index.js.auths.json') != ''
81+ uses : ./
82+ with :
83+ identity-bundle-json : ${{ secrets.AUTHS_CI_IDENTITY_BUNDLE_JSON }}
84+ artifact-paths : ' dist/index.js'
85+ fail-on-unattested : true
86+ fail-on-unsigned : false
87+
7888 - name : Generate SHA256 checksums
7989 run : |
8090 cd dist
You can’t perform that action at this time.
0 commit comments