Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 29, 2023
1 parent 97a4f79 commit b997d62
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,14 @@ jobs:
bundler-cache: true
- name: Run test
run: bundle exec rake compile test
- name: Select the latest ruby release
id: latest
run: |
printenv versions | jq -r '[.[] | select(test("^[0-9]"))] | "version="+max' >> $GITHUB_OUTPUT
env:
versions: ${{needs.ruby-versions.outputs.versions}}
shell: sh
- id: build
run: |
git fetch --force --no-tags origin 'refs/tags/v*:refs/tags/v*'
bundle exec rake build
echo "pkg=${GITHUB_REPOSITORY#*/}-${RUNNING_OS%-*}" >> $GITHUB_OUTPUT
env:
RUNNING_OS: ${{matrix.os}}
if: ${{matrix.ruby == steps.latest.outputs.version}}
if: ${{ matrix.ruby == fromJson(needs.ruby-versions.outputs.latest) }}
shell: bash
# Ubuntu 20.04 still has libyaml 0.2.2
- name: Upload package
Expand Down

0 comments on commit b997d62

Please sign in to comment.