Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 5e3bce7

Browse files
committed
CI
1 parent bb32889 commit 5e3bce7

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/builder.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,17 @@ jobs:
3636
- name: Configure GPG Key
3737
run: |
3838
export GPG_TTY=$(tty)
39-
mkdir -p ~/.gnupg/
40-
chown -R $(whoami) ~/.gnupg/
41-
echo "$GPG_SIGNING_KEY" > ~/.gnupg/private.key
42-
find ~/.gnupg -type f -exec chmod 600 {} \;
43-
find ~/.gnupg -type d -exec chmod 700 {} \;
44-
gpg --batch --import ~/.gnupg/private.key
39+
echo "$GPG_SIGNING_KEY" | gpg --batch --import
4540
for ff in `ls ./release/*.zip`; do gpg --detach-sign --batch --pinentry-mode loopback --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
4641
env:
4742
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
4843
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
44+
# mkdir -p ~/.gnupg/
45+
# chown -R $(whoami) ~/.gnupg/
46+
# echo "$GPG_SIGNING_KEY" > ~/.gnupg/private.key
47+
# find ~/.gnupg -type f -exec chmod 600 {} \;
48+
# find ~/.gnupg -type d -exec chmod 700 {} \;
49+
# gpg --batch --import ~/.gnupg/private.key
4950

5051
- name: Create Release
5152
id: create_release

0 commit comments

Comments
 (0)