From 1e8b2e7707c89547adc5ad06c234347afe0b75f7 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Fri, 27 Jan 2023 12:59:06 -0500 Subject: [PATCH] fix: download binary not having --fail flag --- .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