File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,19 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
14- - name : Set up Ruby 2.7
15- uses : actions/setup-ruby@v1
16- with :
17- ruby-version : 2.7.x
18- bundler-cache : true
19-
20- - name : Publish to GPR
21- run : |
13+ - uses : actions/checkout@v2
14+ - name : Set up Ruby 2.7
15+ uses : actions/setup-ruby@v1
16+ with :
17+ ruby-version : 2.7.x
18+ - name : Publish to GPR
19+ run : |
2220 mkdir -p $HOME/.gem
2321 touch $HOME/.gem/credentials
2422 chmod 0600 $HOME/.gem/credentials
2523 printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
2624 gem build *.gemspec
2725 gem push -V --key github --host https://rubygems.pkg.github.com/${OWNER} *.gem
28- env :
29- GEM_HOST_API_KEY : " Bearer ${{secrets.GITHUB_TOKEN}}"
30- OWNER : ${{ github.repository_owner }}
26+ env :
27+ GEM_HOST_API_KEY : " Bearer ${{secrets.GITHUB_TOKEN}}"
28+ OWNER : ${{ github.repository_owner }}
You can’t perform that action at this time.
0 commit comments