From 05c3a9b6d9b9ea1ac71fb30e480d78ee6978576d Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sat, 3 Aug 2024 18:53:02 +0530 Subject: [PATCH] fix: actually run self-install on windows after download --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 42adfc1..bd26202 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ runs: run: | case ${{ runner.os }} in Linux|macOS) curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | bash -s - $(echo ${{ inputs.version }} | tr -d v) ;; - Windows) gh release download ${{ inputs.version }} --repo rojo-rbx/rokit --pattern *windows-x86_64.zip ;; + Windows) gh release download ${{ inputs.version }} --repo rojo-rbx/rokit --pattern *windows-x86_64.zip && unzip rokit-*.zip && ./rokit.exe self-install ;; esac env: GITHUB_TOKEN: ${{ inputs.token }}