3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-22 00:19:31 +01:00

Mark signing key id trusted

This commit is contained in:
David Tolnay 2021-10-08 00:06:35 -04:00
parent 8176f42f8b
commit 8f29627a44
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -25,7 +25,7 @@ runs:
run: gpg --output ${{runner.temp}}/signing-key.gpg --yes --dearmor ${{github.action_path}}/signing-key.asc run: gpg --output ${{runner.temp}}/signing-key.gpg --yes --dearmor ${{github.action_path}}/signing-key.asc
shell: bash shell: bash
- name: Verify gpg signature - name: Verify gpg signature
run: gpg --no-default-keyring --keyring ${{runner.temp}}/signing-key.gpg --verify ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}} run: gpg --no-default-keyring --keyring ${{runner.temp}}/signing-key.gpg --trusted-key 830334D6A6010C41 --verify ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}}
shell: bash shell: bash
- name: Set executable bit - name: Set executable bit
run: chmod +x ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}} run: chmod +x ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}}