name: Release cortex client on: workflow_run: workflows: - Test Cortex Client types: - completed push: tags: - '*' jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Release Gem uses: cadwallion/publish-rubygems-action@master env: GITHUB_TOKEN: ${{secrets.GH_TOKEN}} RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}} RELEASE_COMMAND: sh push-gem.sh