diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af24b00ded..9961418e97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,3 +28,23 @@ jobs: --title "${title}" env: GH_TOKEN: ${{ github.token }} + + rubygems: + name: RubyGems + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + id-token: write + environment: release + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ruby + - name: Build gems + run: | + rake build + - uses: rubygems/configure-rubygems-credentials@v1.0.0 + - name: Push gems + run: | + rake release:rubygem_push