Skip to content

Commit

Permalink
chore: Simplify GPG configuration in GitHub Actions workflow
Browse files Browse the repository at this point in the history
- Removed redundant gpg-agent restart commands to streamline the GPG setup process.
- Maintained existing permissions settings for GPG directory to ensure security.
- Adjusted the workflow for improved clarity and efficiency in GPG handling.
  • Loading branch information
Marvin Zhang committed Jan 3, 2025
1 parent 621b23b commit 03c19fc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ jobs:
# Set permissions
chmod 700 ~/.gnupg
chmod 600 ~/.gnupg/*
# Kill existing agent if any and restart
gpgconf --kill all || true
gpg-agent --daemon --allow-preset-passphrase
- name: Set GPG_TTY
run: export GPG_TTY=$(tty)
Expand Down

0 comments on commit 03c19fc

Please sign in to comment.