Skip to content

Commit

Permalink
build-and-deploy: let's be lenient if the temporary files could not b…
Browse files Browse the repository at this point in the history
…e cleaned up

The idea was always to "just make sure in case this is run on a
non-ephemeral runner". No need to fail a build over something like:

  rm: cannot remove '/d/a/_temp/home/.gnupg/public-keys.d/pubring.db': Device or resource busy

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Feb 25, 2024
1 parent d4c81f8 commit 1dc7253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ jobs:
run: |
gpgconf --kill dirmngr &&
gpgconf --kill gpg-agent &&
rm -rf "$HOME"
{ rm -rf "$HOME" || echo "Gracefully leaving files undeleted" >&2; }
- name: mark check run as completed
if: env.CREATE_CHECK_RUN != 'false' && always()
Expand Down

0 comments on commit 1dc7253

Please sign in to comment.