Generate the latest version number from OpenSSL LTS releases
This commit is contained in:
parent
920d155560
commit
50e48a20c0
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -84,6 +84,10 @@ jobs:
|
||||
https://api.github.com/repos/ruby/snap.ruby/dispatches \
|
||||
-d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'
|
||||
|
||||
- name: Store the latest LTS version of OpenSSL
|
||||
run: |
|
||||
echo 'OPENSSL_VERSION=`curl -s https://api.github.com/repos/openssl/openssl/releases | jq -r '.[].tag_name | select(startswith("openssl-3.0"))' | sort -Vr | head -n1 | cut -d'-' -f2`' >> $GITHUB_ENV
|
||||
|
||||
- name: Update ruby-build definition
|
||||
run: |
|
||||
curl -L -X POST \
|
||||
@ -91,7 +95,7 @@ jobs:
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/rbenv/ruby-build/dispatches \
|
||||
-d '{"event_type": "update-ruby", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}", "openssl_version": "3.0.15"}}'
|
||||
-d '{"event_type": "update-ruby", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}", "openssl_version": "${{ env.OPENSSL_VERSION }}"}}'
|
||||
|
||||
- name: Update all-ruby definition
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user