Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish
on:
workflow_dispatch:
inputs:
tag:
description: Tag
required: true
jobs:
publish:
name: Publish GitHub Package Registry
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: Install gems
env:
RAILS_VERSION: '6.1.7'
run: |
gem install bundler
bundle install --jobs 4 --retry 3

- name: Publish gem
uses: dawidd6/action-publish-gem@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}