Skip to content

Commit

Permalink
Cleanup artifacts from previous run in case it crashed
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored Jun 29, 2023
1 parent 1aaca55 commit ae7b14e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ runs:
steps:
- name: Install lychee
run: |
# Cleanup artifacts from previous run in case it crashed
rm -rf "lychee-v${{ inputs.LYCHEEVERSION }}-x86_64-unknown-linux-gnu.tar.gz" lychee
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/v${{ inputs.LYCHEEVERSION }}/lychee-v${{ inputs.LYCHEEVERSION }}-x86_64-unknown-linux-gnu.tar.gz"
tar -xvzf "lychee-v${{ inputs.LYCHEEVERSION }}-x86_64-unknown-linux-gnu.tar.gz"
rm "lychee-v${{ inputs.LYCHEEVERSION }}-x86_64-unknown-linux-gnu.tar.gz"
Expand Down

0 comments on commit ae7b14e

Please sign in to comment.