diff --git a/.github/workflows/gem-push.yml b/.github/workflows/gem-push.yml index 4dcb825..05d54cf 100644 --- a/.github/workflows/gem-push.yml +++ b/.github/workflows/gem-push.yml @@ -2,9 +2,7 @@ name: Ruby Gem on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + tags: '*' jobs: build: @@ -16,13 +14,13 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Ruby 2.6 + - name: Set up Ruby 3.3 # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: - ruby-version: 2.6.x + ruby-version: 3.3.x - name: Publish to GPR run: |