Skip to content

Commit

Permalink
Merge pull request #71 from dscho/fix-cleanup-temporary-files
Browse files Browse the repository at this point in the history
build-and-deploy: stop GPG agent before trying to remove GPG files
  • Loading branch information
dscho authored Feb 16, 2024
2 parents 945b434 + 5c33a2e commit aac7740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ jobs:
- name: Clean up temporary files
if: always()
shell: bash
run: rm -rf "$HOME"
run: |
gpgconf --kill dirmng &&
gpgconf --kill gpg-agent &&
rm -rf "$HOME"
- name: mark check run as completed
if: env.CREATE_CHECK_RUN != 'false' && always()
Expand Down

0 comments on commit aac7740

Please sign in to comment.