Skip to content

Commit

Permalink
Fix permissions for gnupg
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsherrylabs committed May 27, 2022
1 parent eda6ac4 commit 2a71518
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
- name: Configure GPG Key
run: |
mkdir -p ~/.gnupg/
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 700 ~/.gnupg
printf "$GPG_SIGNING_KEY" | base64 --decode > ~/.gnupg/private.key
chmod 600 ~/.gnupg/*
gpg --import --no-tty --batch --yes ~/.gnupg/private.key
- name: Package
uses: actions/setup-java@v1.4.3
Expand Down

0 comments on commit 2a71518

Please sign in to comment.