Bump to 0.4.1 #5
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
# .github/workflows/publish-release.yml | |
name: Publish release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
github_release: | |
name: GitHub release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Publish release | |
uses: ghalactic/github-release-from-tag@v5 | |
with: | |
generateReleaseNotes: "true" | |
summaryEnabled: "false" | |
prerelease: "false" | |
rubygems_publish: | |
name: Push gem to RubyGems.org | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | |
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ruby | |
- uses: rubygems/release-gem@v1 | |
with: | |
await-release: false |