From 45baee3142d467d9431f777a7be1074bf690a01b Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Thu, 18 Jan 2024 00:45:25 +0100 Subject: [PATCH] fix: got to unzip and move the binary --- action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a553bbd..2008752 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,10 @@ runs: - name: Download latest binary shell: bash run: | - sudo curl -sSLo /usr/local/bin/packwiz https://nightly.link/packwiz/packwiz/workflows/go/main/Linux%2064-bit%20x86.zip - sudo chmod +x /usr/local/bin/packwiz + curl -sSLo packwiz.zip https://nightly.link/packwiz/packwiz/workflows/go/main/Linux%2064-bit%20x86.zip && \ + unzip packwiz.zip && \ + chmod +x packwiz && \ + sudo mv packwiz /usr/local/bin/ && \ + rm packwiz.zip ...