File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ on: [push, pull_request]
55jobs :
66 ruby-versions :
77 if : ${{ startsWith(github.repository, 'ruby/') || github.event_name != 'schedule' }}
8- uses : ruby /actions/.github/workflows/ruby_versions.yml@master
8+ uses : nobu /actions/.github/workflows/ruby_versions.yml@latest
99 with :
1010 engine : cruby-truffleruby
1111 min_version : 2.6
@@ -33,21 +33,14 @@ jobs:
3333 bundler-cache : true
3434 - name : Run test
3535 run : bundle exec rake compile test
36- - name : Select the latest ruby release
37- id : latest
38- run : |
39- printenv versions | jq -r '[.[] | select(test("^[0-9]"))] | "version="+max' >> $GITHUB_OUTPUT
40- env :
41- versions : ${{needs.ruby-versions.outputs.versions}}
42- shell : sh
4336 - id : build
4437 run : |
4538 git fetch --force --no-tags origin 'refs/tags/v*:refs/tags/v*'
4639 bundle exec rake build
4740 echo "pkg=${GITHUB_REPOSITORY#*/}-${RUNNING_OS%-*}" >> $GITHUB_OUTPUT
4841 env :
4942 RUNNING_OS : ${{matrix.os}}
50- if : ${{matrix.ruby == steps.latest .outputs.version }}
43+ if : ${{matrix.ruby == needs.ruby-versions .outputs.latest }}
5144 shell : bash
5245 # Ubuntu 20.04 still has libyaml 0.2.2
5346 - name : Upload package
You can’t perform that action at this time.
0 commit comments