Skip to content

Merge pull request #490 from collectiveidea/trusted-publishing #1

Merge pull request #490 from collectiveidea/trusted-publishing

Merge pull request #490 from collectiveidea/trusted-publishing #1

Workflow file for this run

name: Publish Gem
on:
push:
tags:
- v*
jobs:
push:
if: github.repository == 'collectiveidea/awesome_nested_set'
runs-on: ubuntu-latest
environment: publishing
permissions:
contents: write
id-token: write
steps:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby
# Release
- uses: rubygems/release-gem@v1