File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 73
73
working-directory : clients/js
74
74
env :
75
75
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
76
+ publish-ruby-client :
77
+ runs-on : ubuntu-latest
78
+ needs : create-release
79
+ permissions :
80
+ packages : write
81
+ contents : read
82
+ steps :
83
+ - uses : actions/checkout@v2
84
+ - name : Set up Ruby 2.6
85
+ uses : ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
86
+ with :
87
+ ruby-version : 2.6
88
+ - run : bundle install
89
+ working-directory : clients/ruby
90
+ - name : Publish to RubyGems
91
+ run : |
92
+ mkdir -p $HOME/.gem
93
+ touch $HOME/.gem/credentials
94
+ chmod 0600 $HOME/.gem/credentials
95
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
96
+ gem build *.gemspec
97
+ gem push *.gem
98
+ env :
99
+ GEM_HOST_API_KEY : " ${{secrets.RUBYGEMS_AUTH_TOKEN}}"
100
+ working-directory : clients/ruby
76
101
publish-server :
77
102
runs-on : ubuntu-latest
78
103
needs : create-release
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -euo pipefail
3
3
IFS=$' \n\t '
4
4
set -vx
5
5
6
+ gem install bundler:1.17.3
6
7
bundle install
7
8
8
9
# Do any other automated setup that you need to do here
You can’t perform that action at this time.
0 commit comments