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