Skip to content

Commit 118e004

Browse files
authored
ci: Add workflow to check Ruby OpenSSL version on Windows (#946)
We can manually dispatch this workflow to check the OpenSSL version bundled with each RubyInstaller versions. Ref. https://github.com/Watson1978/ruby-openssl-version/actions/runs/20090028265 Signed-off-by: Shizuo Fujita <[email protected]>
1 parent faffb00 commit 118e004

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Ruby OpenSSL Version on Windows
2+
3+
on:
4+
workflow_dispatch
5+
6+
permissions: read-all
7+
8+
jobs:
9+
test:
10+
runs-on: windows-latest
11+
continue-on-error: false
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
ruby-version: ['3.4.7', '3.4.5', '3.2.9', '3.2.8', '3.2.7', '3.2.6', '3.2.5', '3.2.4', '3.2.3', '3.2.2']
16+
name: Ruby ${{ matrix.ruby-version }}
17+
steps:
18+
- uses: actions/checkout@v6
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby-version }}
23+
rubygems: latest
24+
- name: Ruby OpenSSL Version
25+
run: |
26+
$openssl_ver = ruby -r openssl -e "puts OpenSSL::OPENSSL_VERSION"
27+
28+
# Output to console
29+
Write-Host "Detected: $openssl_ver"
30+
31+
# Output to GitHub actions summary
32+
echo "* **Ruby ${{ matrix.ruby-version }}:** $openssl_ver" >> $env:GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)