Skip to content

Commit

Permalink
Merge pull request hashicorp#4 from hashicorp/add-default-ttl
Browse files Browse the repository at this point in the history
set gpg-agent default ttl
  • Loading branch information
sarahethompson authored May 11, 2021
2 parents 5069471 + e9717e9 commit 78437f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ description: "Import private GPG key"
runs:
using: "composite"
steps:
- id: set-default-cache-ttl
run: |
gpg-agent --daemon --default-cache-ttl 7200
shell: bash
name: set default cache ttl
- run: |
#
echo -e "${{ env.GPG_PRIVATE_KEY }}" | gpg --import --batch --no-tty
Expand Down

0 comments on commit 78437f9

Please sign in to comment.