File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -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 == fromJson(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