File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- ' v*'
6
+ branches :
7
+ - ' release/*'
6
8
7
9
jobs :
8
10
release :
@@ -13,24 +15,23 @@ jobs:
13
15
uses : actions/checkout@v1
14
16
15
17
- name : Setup Ruby
16
- uses : actions /setup-ruby@v1
18
+ uses : ruby /setup-ruby@v1
17
19
with :
18
- ruby-version : 2.6.x
20
+ ruby-version : ' 2.6'
19
21
20
22
- name : Bundle
21
23
run : |
22
24
gem update --system
23
25
gem update bundler
24
26
bundle install --jobs 4 --retry 3
25
27
26
- - name : Publish to GPR
28
+ - name : Publish to RubyGems
27
29
run : |
28
30
mkdir -p $HOME/.gem
29
31
touch $HOME/.gem/credentials
30
32
chmod 0600 $HOME/.gem/credentials
31
33
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
32
34
gem build *.gemspec
33
- gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
35
+ gem push *.gem
34
36
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