mirror of
https://github.com/dtolnay/install.git
synced 2025-01-31 07:01:20 +01:00
Verify artifact attestations
This commit is contained in:
parent
8dc199752a
commit
bb72072ee7
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ runs:
|
||||||
- name: Verify gpg signature
|
- name: Verify gpg signature
|
||||||
run: gpg --no-default-keyring --keyring ${{runner.temp}}/signing-key.gpg --trusted-key 830334D6A6010C41 --verify ${{runner.temp}}/${{steps.inputs.outputs.bin}}.sig ${{steps.cargo.outputs.dir}}/${{steps.inputs.outputs.bin}}
|
run: gpg --no-default-keyring --keyring ${{runner.temp}}/signing-key.gpg --trusted-key 830334D6A6010C41 --verify ${{runner.temp}}/${{steps.inputs.outputs.bin}}.sig ${{steps.cargo.outputs.dir}}/${{steps.inputs.outputs.bin}}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
- name: Verify artifact attestation
|
||||||
|
run: gh attestation verify --owner dtolnay ${{steps.cargo.outputs.dir}}/${{steps.inputs.outputs.bin}}
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{github.token}}
|
||||||
|
shell: bash
|
||||||
- name: Set executable bit
|
- name: Set executable bit
|
||||||
run: chmod +x ${{steps.cargo.outputs.dir}}/${{steps.inputs.outputs.bin}}
|
run: chmod +x ${{steps.cargo.outputs.dir}}/${{steps.inputs.outputs.bin}}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue