bliof-fc is publishing a new version #2
Workflow file for this run
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: Deploy to RubyGems | |
run-name: ${{ github.actor }} is publishing a new version | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish-gem: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
bundler-cache: true | |
- name: Build gem | |
run: gem build hellgrid.gemspec | |
- name: Publish gem | |
env: | |
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} | |
run: | | |
gem push hellgrid-*.gem |