File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 9999
100100 gem-publish :
101101 runs-on : ubuntu-latest
102- if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
103- needs : [test, lint, security]
102+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
104103 steps :
105104 - name : Checkout repository
106105 uses : actions/checkout@v4
@@ -122,9 +121,8 @@ jobs:
122121 run : |
123122 bundle exec rake build
124123
125- # TODO: Uncomment this when we are ready to publish to RubyGems
126- # - name: Publish to RubyGems
127- # run: |
128- # gem push pkg/*.gem
129- # env:
130- # RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
124+ - name : Publish to RubyGems
125+ run : |
126+ gem push pkg/*.gem
127+ env :
128+ RUBYGEMS_API_KEY : ${{ secrets.RUBYGEMS_API_KEY }}
You can’t perform that action at this time.
0 commit comments