Skip to content

Commit

Permalink
chore: error handling removed because of bash
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBeyer committed Sep 11, 2023
1 parent 3871e45 commit e42ec6c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/reusable-create-homebrew-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e42ec6c

Please sign in to comment.