Skip to content

Commit b997d62

Browse files
committed
1 parent 97a4f79 commit b997d62

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)