mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-04 23:11:08 +02:00
Add -f
flag to curl for HTTP error handling
Ensures that the command fails when an HTTP error (e.g., 404) occurs.
This commit is contained in:
parent
b5ade6192c
commit
eb6e4ccca4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update-ruby.yml
vendored
4
.github/workflows/update-ruby.yml
vendored
|
@ -33,8 +33,8 @@ jobs:
|
||||||
|
|
||||||
- name: Run script/update-cruby
|
- name: Run script/update-cruby
|
||||||
run: |
|
run: |
|
||||||
curl -sL https://cache.ruby-lang.org/pub/ruby/${{ env.ABI_VERSION }}/ruby-${{ env.RUBY_VERSION }}.tar.gz -O
|
curl -fsL https://cache.ruby-lang.org/pub/ruby/${{ env.ABI_VERSION }}/ruby-${{ env.RUBY_VERSION }}.tar.gz -O
|
||||||
curl -sL https://www.openssl.org/source/openssl-${{ env.OPENSSL_VERSION }}.tar.gz -O
|
curl -fsL https://www.openssl.org/source/openssl-${{ env.OPENSSL_VERSION }}.tar.gz -O
|
||||||
script/update-cruby ${{ env.RUBY_VERSION }} ${{ env.OPENSSL_VERSION }} .
|
script/update-cruby ${{ env.RUBY_VERSION }} ${{ env.OPENSSL_VERSION }} .
|
||||||
rm *.gz
|
rm *.gz
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue