File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 33 push :
44 tags :
55 - ' v*'
6+ branches :
7+ - ' release/*'
68
79jobs :
810 release :
@@ -13,24 +15,23 @@ jobs:
1315 uses : actions/checkout@v1
1416
1517 - name : Setup Ruby
16- uses : actions /setup-ruby@v1
18+ uses : ruby /setup-ruby@v1
1719 with :
18- ruby-version : 2.6.x
20+ ruby-version : ' 2.6'
1921
2022 - name : Bundle
2123 run : |
2224 gem update --system
2325 gem update bundler
2426 bundle install --jobs 4 --retry 3
2527
26- - name : Publish to GPR
28+ - name : Publish to RubyGems
2729 run : |
2830 mkdir -p $HOME/.gem
2931 touch $HOME/.gem/credentials
3032 chmod 0600 $HOME/.gem/credentials
3133 printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
3234 gem build *.gemspec
33- gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
35+ gem push *.gem
3436 env :
35- GEM_HOST_API_KEY : ${{ secrets.GPR_AUTH_TOKEN }}
36- OWNER : ctran
37+ GEM_HOST_API_KEY : ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments