File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -84,14 +84,18 @@ jobs:
8484 https://api.github.com/repos/ruby/snap.ruby/dispatches \
8585 -d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'
8686
87+ - name : Store the latest LTS version of OpenSSL
88+ run : |
89+ 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
90+
8791 - name : Update ruby-build definition
8892 run : |
8993 curl -L -X POST \
9094 -H "Authorization: Bearer ${{ secrets.RUBY_BUILD_WORKFLOW_TOKEN }}" \
9195 -H "Accept: application/vnd.github+json" \
9296 -H "X-GitHub-Api-Version: 2022-11-28" \
9397 https://api.github.com/repos/rbenv/ruby-build/dispatches \
94- -d '{"event_type": "update-ruby", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}", "openssl_version": "3.0.15 "}}'
98+ -d '{"event_type": "update-ruby", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}", "openssl_version": "${{ env.OPENSSL_VERSION }} "}}'
9599
96100 - name : Update all-ruby definition
97101 run : |
You can’t perform that action at this time.
0 commit comments