.github/workflows/ci.yml in umbrellio-sequel-plugins-0.15.0.198 vs .github/workflows/ci.yml in umbrellio-sequel-plugins-0.16.0

- old
+ new

@@ -28,11 +28,11 @@ PGUSER: root strategy: fail-fast: false matrix: - ruby: ["2.7", "3.0", "3.1", "3.2"] + ruby: ["3.0", "3.1", "3.2", "3.3"] name: ${{ matrix.ruby }} steps: - uses: actions/checkout@v3 @@ -47,21 +47,25 @@ - uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - deploy: + release-gem: runs-on: ubuntu-latest - environment: Deploy + permissions: + id-token: write + contents: write # Run on push to master branch - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + # if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: umbrellio/publish-ruby-gem-action@v1.0.4 + - uses: ruby/setup-ruby@v1 with: - api-key: ${{ secrets.RUBYGEMS_API_KEY }} - env: - PUBLISH_JOB: true + ruby-version: ruby + bundler-cache: true + + - uses: rubygems/release-gem@v1