Skip to content

Auto-generated ruby SDK code update #30

Auto-generated ruby SDK code update

Auto-generated ruby SDK code update #30

Workflow file for this run

name: Ruby Deploy
on:
push:
tags:
- v*
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
version: ['2.4']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Gem deploy
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}