We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f12b05 commit 82f7b43Copy full SHA for 82f7b43
.github/workflows/test.yml
@@ -38,6 +38,9 @@ jobs:
38
ruby-version: ${{ matrix.ruby }}
39
rubygems: ${{ matrix.ruby < '2.7' && '3.4.22' || '' }}
40
bundler-cache: true
41
+ - name: Version
42
+ run: |
43
+ ruby -v -retc -e "puts Etc::VERSION if Etc.const_defined?('VERSION')"
44
- name: Run test
45
run: bundle exec rake compile test
46
- id: fetch
@@ -50,6 +53,12 @@ jobs:
50
53
set +x
51
54
shell: bash
52
55
if: ${{ matrix.ruby == needs.ruby-versions.outputs.latest }}
56
+ - name: Built Version
57
58
+ $:.unshift(File.expand_path("lib/#{RUBY_VERSION}/#{Gem::Platform.local}"))
59
+ require "etc"
60
+ puts Etc::VERSION if Etc.const_defined?('VERSION')
61
+ shell: ruby {0}
62
- id: build
63
run: |
64
bundle exec rake build
0 commit comments