File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,24 +3,26 @@ name: Publish RubyGem
33on :
44 push :
55 tags :
6- - ' v*.*.*'
6+ - ' v*.*.*' # triggers on version tags like v1.2.3
77
88jobs :
99 publish :
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v3 # checkout the repository
1414
1515 - uses : ruby/setup-ruby@v1
1616 with :
17- ruby-version : ' 3.x '
18- bundler-cache : true
17+ ruby-version : ' 3.2.8 ' # specify exact Ruby version
18+ bundler-cache : true # enable bundler caching
1919
20- - name : Build gem
20+ - name : Build gem # build the gem package
2121 run : gem build api_solvecaptcha.gemspec
2222
23- - name : Push gem to RubyGems
23+ - name : Publish to RubyGems # push the gem to RubyGems.org
2424 env :
2525 RUBYGEMS_API_KEY : ${{ secrets.RUBYGEMS_API_KEY }}
2626 run : gem push *.gem
27+
28+
You can’t perform that action at this time.
0 commit comments