Skip to content

Commit

Permalink
fix: Overwrite file if already exists when extracting zip
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 28, 2024
1 parent 900b39c commit 500e67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ runs:
gh release download "$VERSION" --pattern="$ASSET" --output=- | tar -xzf - "$FILENAME" ;;
*.zip)
gh release download "$VERSION" --pattern="$ASSET"
unzip "$ASSET" "$FILENAME"
unzip -o "$ASSET" "$FILENAME"
rm "$ASSET"
;;
*)
Expand Down

0 comments on commit 500e67c

Please sign in to comment.