Skip to content

Commit

Permalink
Upgrade rb_sys v0.9.86 for release Ruby 3.3 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jan 4, 2024
1 parent 3aba3b3 commit e593bb3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/release-crate-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- x86_64-linux-musl
steps:
- uses: actions/checkout@v3
- uses: oxidize-rb/actions/setup-ruby-and-rust@main
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.1.9
with:
ruby-version: '3.2'
ruby-version: '3.3'
bundler-cache: true
cargo-cache: true
cargo-vendor: false
Expand All @@ -45,12 +45,17 @@ jobs:
run: |
touch Rakefile
- uses: oxidize-rb/cross-gem-action@main
- uses: oxidize-rb/actions/cross-gem@v1.1.9
with:
platform: ${{ matrix.ruby-platform }}
directory: ./
working-directory: autocorrect-rb/
ruby-versions: '3.3, 3.2, 3.1' # optional
setup: cd autocorrect-rb/ && bundle install

- name: Upload Gem
uses: actions/upload-artifact@v3
with:
name: cross-gem
path: autocorrect-rb/pkg/

build_source:
name: Build source gem
Expand All @@ -59,9 +64,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oxidize-rb/actions/setup-ruby-and-rust@main
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.1.9
with:
ruby-version: '3.2'
ruby-version: '3.3'
bundler-cache: false
cargo-cache: true
cargo-vendor: true
Expand All @@ -88,7 +93,7 @@ jobs:
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: '3.3'
bundler-cache: true
- uses: actions/download-artifact@v3
with:
Expand All @@ -108,10 +113,6 @@ jobs:
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${RUBYGEM_TOKEN}\n" > $HOME/.gem/credentials
for filename in autocorrect-rb/**/*.gem; do
echo $filename
gem push $filename
done
for filename in *.gem; do
echo $filename
gem push $filename
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-rb/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GEM
rake (13.1.0)
rake-compiler (1.2.5)
rake
rb_sys (0.9.84)
rb_sys (0.9.86)
ruby2_keywords (0.0.5)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down

0 comments on commit e593bb3

Please sign in to comment.