Merge pull request #130 from authzed/dependabot/github_actions/github… #27
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 to Rubygems" | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: "Set up Ruby" | |
uses: "ruby/setup-ruby@v1" | |
with: | |
ruby-version: "3.3.0" | |
bundler-cache: true | |
- name: "Install deps" | |
run: | | |
gem install bundler | |
bundle install | |
- name: "Build and publish to Rubygems" | |
uses: "cadwallion/publish-rubygems-action@v1.1.0" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
RUBYGEMS_API_KEY : "${{ secrets.RUBYGEMS_API_KEY }}" |