From 500e67c37c96e7e6ab2b1ce4cfe5f9c528bb45f9 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 27 Jul 2024 23:55:18 -0500 Subject: [PATCH] fix: Overwrite file if already exists when extracting zip --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 277731a..a921950 100644 --- a/action.yml +++ b/action.yml @@ -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" ;; *)