Skip to content

Commit

Permalink
get text and dearmor before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
timhuang1018 committed Aug 19, 2024
1 parent 77a722f commit 58b9372
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
run: |
brew install gpg
gpg --version
echo "$SIGNING_KEY" > private_key.asc
gpg --batch --import private_key.asc
gpg --list-secret-keys --keyid-format LONG
gpg --export-secret-keys --armor > ${HOME}/secring.gpg
rm private_key.asc
echo "$SIGNING_KEY" | gpg --dearmor > ${HOME}/secring.gpg
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down

0 comments on commit 58b9372

Please sign in to comment.