Skip to content

Commit

Permalink
fix: remove files too
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Strassel <[email protected]>
  • Loading branch information
boredland authored Sep 17, 2023
1 parent b9f4069 commit e852ce5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ runs:
if [[ `git status --porcelain` ]]; then
db_path="$repo_dir/${{ inputs.name || github.event.repository.name }}.db.tar.gz"
rm -f $db_path
files_path="$repo_dir/${{ inputs.name || github.event.repository.name }}.files.tar.gz"
rm -f $db_path $files_path
repo-add --sign --new --remove --prevent-downgrade $repo_dir/${{ inputs.name || github.event.repository.name }}.db.tar.gz $repo_dir/*.zst || echo "no files found for $arch"
fi
done
Expand Down

0 comments on commit e852ce5

Please sign in to comment.