Skip to content

Commit

Permalink
try test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin committed Dec 2, 2024
1 parent 29bdff0 commit 9d2d871
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/create-source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,23 @@ jobs:
uses: actions/checkout@v2

- name: Setup GPG
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
run: |
mkdir -p ~/.gnupg
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import --yes
chmod 700 ~/.gnupg
echo $GPG_PRIVATE_KEY | base64 --decode | gpg --batch --import --yes
echo "use-agent" >> ~/.gnupg/gpg.conf
echo "pinentry-program /usr/bin/pinentry" >> ~/.gnupg/gpg-agent.conf
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
- name: Create source release
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: |
mkdir -p output
chmod +x tools/releasing/create_source_release.sh
OUTPUT_DIR=output GPG_PASSPHRASE=${{ secrets.GPG_PASSPHRASE }} tools/releasing/create_source_release.sh
OUTPUT_DIR=output GPG_PASSPHRASE=$GPG_PASSPHRASE tools/releasing/create_source_release.sh
- name: Upload source release
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9d2d871

Please sign in to comment.