Skip to content

Commit

Permalink
Add release package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anunes9 committed Nov 16, 2023
1 parent 74e5647 commit 3467167
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/push-gem-to-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Push Gem to Github Packages

on:
push:
branches:
- "*"
pull_request:
branches:
- "master"

jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1 # .ruby-version
with:
bundler-cache: true # bundle install

- name: Build and publish gem
uses: jstastny/publish-gem-to-github@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}

0 comments on commit 3467167

Please sign in to comment.