File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,23 @@ jobs:
2727 uses : actions/checkout@v2
2828
2929 - name : Setup GPG
30+ env :
31+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
3032 run : |
3133 mkdir -p ~/.gnupg
32- echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import --yes
34+ chmod 700 ~/.gnupg
35+ echo $GPG_PRIVATE_KEY | base64 --decode | gpg --batch --import --yes
3336 echo "use-agent" >> ~/.gnupg/gpg.conf
3437 echo "pinentry-program /usr/bin/pinentry" >> ~/.gnupg/gpg-agent.conf
3538 echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
3639
3740 - name : Create source release
41+ env :
42+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
3843 run : |
3944 mkdir -p output
4045 chmod +x tools/releasing/create_source_release.sh
41- OUTPUT_DIR=output GPG_PASSPHRASE=${{ secrets. GPG_PASSPHRASE }} tools/releasing/create_source_release.sh
46+ OUTPUT_DIR=output GPG_PASSPHRASE=$GPG_PASSPHRASE tools/releasing/create_source_release.sh
4247
4348 - name : Upload source release
4449 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments