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 7373 working-directory : clients/js
7474 env :
7575 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
76101 publish-server :
77102 runs-on : ubuntu-latest
78103 needs : create-release
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -euo pipefail
33IFS=$' \n\t '
44set -vx
55
6+ gem install bundler:1.17.3
67bundle install
78
89# Do any other automated setup that you need to do here
You can’t perform that action at this time.
0 commit comments