diff --git a/action.yaml b/action.yaml index 208a04e..6e00a8b 100644 --- a/action.yaml +++ b/action.yaml @@ -127,10 +127,10 @@ runs: # Download custom gptscript log_info "Downloading platform-specific version 'v${{ inputs.gptscript-release }}' of gptscript...\n https://github.com/gptscript-ai/gptscript/releases/download/v${{ inputs.gptscript-release }}/${desired_gptscript_filename}" - # $SUDO curl -sL https://github.com/gptscript-ai/gptscript/releases/download/v${{ inputs.gptscript-release }}/${desired_gptscript_filename} -o ${desired_gptscript_filename} + $SUDO curl -sL https://github.com/gptscript-ai/gptscript/releases/download/v${{ inputs.gptscript-release }}/${desired_gptscript_filename} -o ${desired_gptscript_filename} $SUDO curl -sL https://github.com/gptscript-ai/gptscript/releases/download/v${{ inputs.gptscript-release }}/checksums.txt -o checksums.txt cat checksums.txt - sha256sum ${desired_gptscript_filename} + ls -la if [[ ${{ runner.os }} == "Windows" ]]; then log_info ">>> '${{ runner.os }}'" filesha256=$(cat checksums.txt | grep ${desired_gptscript_filename} | cut -d' ' -f1)