Skip to content

Commit eb389c3

Browse files
author
yuzelin
committed
try echo
1 parent c53513e commit eb389c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/create-source-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ on:
2121
jobs:
2222
build:
2323
runs-on: ubuntu-latest
24+
env:
25+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2426

2527
steps:
2628
- name: Checkout code
@@ -30,7 +32,7 @@ jobs:
3032
run: |
3133
mkdir -p ~/.gnupg
3234
chmod 700 ~/.gnupg
33-
echo ${{ secrets.GPG_PRIVATE_KEY }} | gpg --batch --import --yes
35+
echo $GPG_PRIVATE_KEY | gpg --batch --import --yes
3436
echo "use-agent" >> ~/.gnupg/gpg.conf
3537
echo "pinentry-program /usr/bin/pinentry" >> ~/.gnupg/gpg-agent.conf
3638
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf

0 commit comments

Comments
 (0)