mirror of
https://github.com/dtolnay/install.git
synced 2024-11-25 01:19:33 +01:00
Overwrite signing-key.gpg if already exists
This commit is contained in:
parent
8031c88e17
commit
c21a44f3db
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ runs:
|
||||||
run: curl --output ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}}.sig --location --silent --show-error
|
run: curl --output ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig https://github.com/dtolnay/install/releases/download/${{inputs.crate}}/${{inputs.bin || inputs.crate}}.sig --location --silent --show-error
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Retrieve public key of signing key
|
- name: Retrieve public key of signing key
|
||||||
run: gpg --output ${{runner.temp}}/signing-key.gpg --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 --verify ${{runner.temp}}/${{inputs.bin || inputs.crate}}.sig ${{steps.cargo.outputs.dir}}/${{inputs.bin || inputs.crate}}
|
||||||
|
|
Loading…
Reference in a new issue