diff --git a/.github/workflows/reusable-create-homebrew-pr.yml b/.github/workflows/reusable-create-homebrew-pr.yml index 4f3f5251e8..09e3550c51 100644 --- a/.github/workflows/reusable-create-homebrew-pr.yml +++ b/.github/workflows/reusable-create-homebrew-pr.yml @@ -35,20 +35,12 @@ jobs: id: fetch-arm-sha256 if: inputs.release-condition != 'false' run: | - echo "sha256=$(curl -sSL --fail ${{ env.ARM_TARBALL_URL }}/fauilk | shasum -a 256 | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT" - if [[ $? -ne 0 ]]; then - echo "curl failed" > /dev/stderr - exit 1 - fi + echo "sha256=$(curl -sSL --fail ${{ env.ARM_TARBALL_URL }} | shasum -a 256 | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT" - name: Fetch amd sha256 id: fetch-amd-sha256 if: inputs.release-condition != 'false' run: | echo "sha256=$(curl -sSL --fail ${{ env.AMD_TARBALL_URL }} | shasum -a 256 | cut -d ' ' -f 1)" >> "$GITHUB_OUTPUT" - if [[ $? -ne 0 ]]; then - echo "curl failed" > /dev/stderr - exit 1 - fi homebrew-create-pr: runs-on: ubuntu-latest