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 5205f3f commit 2cb529b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: oxidize-rb/actions/setup-ruby-and-rust@main
with:
ruby-version: "3.2"
ruby-version: '3.3'
bundler-cache: true
cargo-cache: true
cargo-vendor: true
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Release RubyGem"
name: 'Release RubyGem'
on:
push:
tags:
- "v*"
- 'v*'
branches:
- "release-gem"
- 'release-gem'
jobs:
build:
name: Release cross gems
Expand All @@ -20,18 +20,17 @@ jobs:
- x86_64-linux-musl
steps:
- uses: actions/checkout@v3
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1.1.7
- 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

- uses: oxidize-rb/actions/cross-gem@v1.1.7
- uses: oxidize-rb/actions/cross-gem@v1.1.9
with:
platform: ${{ matrix.ruby-platform }}
setup: bundle install
ruby-versions: "3.2,3.1"
ruby-versions: '3.3,3.2,3.1'

- uses: actions/upload-artifact@v2
with:
Expand All @@ -46,7 +45,7 @@ jobs:

- uses: oxidize-rb/actions/setup-ruby-and-rust@main
with:
ruby-version: "3.2"
ruby-version: '3.3'
bundler-cache: false
cargo-cache: true
cargo-vendor: true
Expand All @@ -72,7 +71,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 @@ -84,7 +83,7 @@ jobs:

- name: Publish to RubyGem
env:
RUBYGEM_TOKEN: "${{secrets.RUBYGEM_TOKEN}}"
RUBYGEM_TOKEN: '${{secrets.RUBYGEM_TOKEN}}'
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
Expand Down
2 changes: 1 addition & 1 deletion lib/rucaptcha/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RuCaptcha
VERSION = "3.2.2"
VERSION = "3.2.3-rc1"
end

0 comments on commit 2cb529b

Please sign in to comment.