Skip to content

Commit bd4f36f

Browse files
authored
Verify attestation for specific tag (#48)
1 parent e08b87b commit bd4f36f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ runs:
9191

9292
- name: Verify Attestation
9393
if: ${{ inputs.verify-attestation == 'true' }}
94-
run: gh attestation verify --repo typisttech/php-matrix php-matrix.tar.gz
94+
run: gh release verify-asset --repo typisttech/php-matrix ${TAG} php-matrix.tar.gz
9595
shell: bash
9696
working-directory: ${{ github.action_path }}
9797
env:
98+
TAG: ${{ inputs.version || '' }}
9899
GH_TOKEN: ${{ inputs.github-token }}
99100

100101
- name: Unarchive the binary

0 commit comments

Comments
 (0)