Skip to content

Commit

Permalink
TEST: see whether gpg/gpg-agent can be made to work together
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jan 20, 2025
1 parent 7fd6dce commit efa0638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-git-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
# Configure GPG
echo "allow-preset-passphrase" > ~/.gnupg/gpg-agent.conf
eval $(gpg-agent --daemon)
# let gpg 1.4 work with gpg-agent 2.1 (see https://unix.stackexchange.com/a/407849)
export GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:0:1
echo "::notice::GPG_AGENT_INFO=$GPG_AGENT_INFO"
echo "GPG_AGENT_INFO=$GPG_AGENT_INFO" >>$GITHUB_ENV
printf '%s' "$passphrase" |
Expand Down

0 comments on commit efa0638

Please sign in to comment.