From 2d40de89bbc894b1364d883011f93e08b251597a Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Fri, 27 Jan 2023 13:05:24 -0500 Subject: [PATCH] fix: download binary not having --fail flag (#531) --- .github/actions/setup-binary/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-binary/action.yml b/.github/actions/setup-binary/action.yml index 55dbea469..f5f548bcf 100644 --- a/.github/actions/setup-binary/action.yml +++ b/.github/actions/setup-binary/action.yml @@ -23,6 +23,6 @@ runs: - if: ${{ steps.cache-binary.outputs.cache-hit != 'true' }} name: Download Binary run: | - curl -L -o /usr/local/bin/${{ inputs.binary-name }} ${{ inputs.binary-github }}/releases/download/${{ inputs.binary-version }}/${{ inputs.binary-name }} + curl -L --fail -o /usr/local/bin/${{ inputs.binary-name }} ${{ inputs.binary-github }}/releases/download/${{ inputs.binary-version }}/${{ inputs.binary-name }} chmod +x /usr/local/bin/${{ inputs.binary-name }} shell: bash