Skip to content

Commit 07ba86f

Browse files
authored
Update sigstore release signing action (#435)
* Update sigstore release signing action The default behavior of sigstore/gh-action-sigstore-python has changed. Disable the automatic uploading of signed artifacts, since this now includes artifacts named with just the tag, without the "Imath-" prefix. Also, the signature file now has a .json suffix. Signed-off-by: Cary Phillips <[email protected]> * pin action to sha; use TAG instead of ref_name Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]>
1 parent 6d97ae2 commit 07ba86f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-sign.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,20 @@ jobs:
4848
shell: bash
4949

5050
- name: Checkout
51-
uses: actions/checkout@v2
51+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
5252

5353
- name: Create archive
5454
run: git archive --format=tar.gz -o ${IMATH_TARBALL} --prefix ${IMATH_PREFIX} ${TAG}
5555

5656
- name: Sign archive with Sigstore
57-
uses: sigstore/[email protected]
57+
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
5858
with:
5959
inputs: ${{ env.IMATH_TARBALL }}
60+
upload-signing-artifacts: false
61+
release-signing-artifacts: false
6062

6163
- name: Upload release archive
6264
env:
6365
GH_TOKEN: ${{ github.token }}
64-
run: gh release upload ${{ github.ref_name }} ${IMATH_TARBALL} ${IMATH_TARBALL}.sigstore
66+
run: gh release upload ${TAG} ${IMATH_TARBALL} ${IMATH_TARBALL}.sigstore.json
6567

0 commit comments

Comments
 (0)