Skip to content

Commit

Permalink
Sync rb-sys version with the one in gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jan 4, 2024
1 parent 940bfcf commit 4f00810
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ jobs:
cargo-vendor: true
cache-version: v0-${{ matrix.ruby-platform }}

- name: Extract rb-sys version
id: vars
run: |
echo "rb-sys-version=$(bundle exec ruby -rrb_sys -e 'puts RbSys::VERSION')" >> $GITHUB_OUTPUT
- uses: oxidize-rb/actions/cross-gem@v1
id: cross-gem
with:
platform: ${{ matrix.platform }}
ruby-versions: ${{ join(fromJSON(needs.ci-data.outputs.result).stable-ruby-versions, ',') }}
tag: ${{ steps.vars.outputs.rb-sys-version }}

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 4f00810

Please sign in to comment.