download.yml: verify pgp key

This commit is contained in:
hinto.janai 2023-03-27 13:58:57 -04:00
parent ca6d52ea11
commit 35b878092a
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -35,6 +35,8 @@ jobs:
run: wget --content-disposition "https://gupax.io/sha256sums" run: wget --content-disposition "https://gupax.io/sha256sums"
- name: Download PGP key - name: Download PGP key
run: wget --content-disposition "https://gupax.io/hinto" run: wget --content-disposition "https://gupax.io/hinto"
- name: Verify PGP key
run: bash -c "[[ $(sha256sum "hinto.asc" | awk '{print $1}') == 02242a2c4b4dfb2f49d30a15630a301c72910e6e5c212d432c8b7ff438696b00 ]]"
- name: Import PGP key - name: Import PGP key
run: gpg --import hinto.asc run: gpg --import hinto.asc
- name: Verify Hashes - name: Verify Hashes