3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2025-01-31 07:01:20 +01:00

Merge pull request #24 from dtolnay/nogpg

Delete publication of gpg signatures
This commit is contained in:
David Tolnay 2025-01-26 14:01:43 -08:00 committed by GitHub
commit 52e1946d1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 1 additions and 64 deletions

View file

@ -16,4 +16,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -29,9 +29,6 @@ on:
required: false
type: boolean
default: false
secrets:
private_key:
required: true
jobs:
build:
@ -59,12 +56,6 @@ jobs:
run: echo "which=$(which ${{inputs.bin || inputs.crate}})" >> $GITHUB_OUTPUT
- id: version
run: echo "version=$(cargo install --list | grep -o '^${{inputs.crate}} \([^ :]\)\+')" >> $GITHUB_OUTPUT
- run: echo "$PRIVATE_KEY" | gpg --import
env:
PRIVATE_KEY: ${{secrets.private_key}}
- run: gpg --output ${{inputs.bin || inputs.crate}}.sig --detach-sig ${{steps.which.outputs.which}}
- run: gpg --output signing-key.gpg --dearmor signing-key.asc
- run: gpg --no-default-keyring --keyring ./signing-key.gpg --verify ${{inputs.bin || inputs.crate}}.sig ${{steps.which.outputs.which}}
- uses: actions/attest-build-provenance@v2
with:
subject-path: ${{steps.which.outputs.which}}
@ -75,8 +66,6 @@ jobs:
with:
tag_name: ${{inputs.crate}}
target_commitish: ${{github.ref}}
files: |
${{steps.which.outputs.which}}
${{inputs.bin || inputs.crate}}.sig
files: ${{steps.which.outputs.which}}
fail_on_unmatched_files: true
body: ${{steps.version.outputs.version}}

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -16,4 +16,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -16,4 +16,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -16,4 +16,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -17,4 +17,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -15,4 +15,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -17,4 +17,3 @@ jobs:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -1,28 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGFfhJUBEADsvu8a4X+CmPIna6STuN4/zIYVhseoD3oe3AG/rP8N+nZwbPbC
Pa72MrJyTqXlZhS7KStIyOM85UhjMTdac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