Release #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
options: --user 1001 | |
steps: | |
- name: Configure safe directory | |
run: sudo git config --global --add safe.directory /github/workspace | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- name: Release Gem | |
uses: discourse/publish-rubygems-action@v2-beta | |
env: | |
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} | |
RELEASE_COMMAND: bin/release | |
GIT_EMAIL: support@veryfi.com | |
GIT_NAME: Github Action |