Update publish-gem.yaml #3
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: Publish Gem | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1.2' | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install | |
- name: Build the gem | |
run: | | |
gem build au_core_test_kit.gemspec | |
- name: Release Gem to GitHub Packages | |
uses: jstastny/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
owner: ${{ github.repository_owner }} |