Skip to content

fix: update gemspec to modern standards #2

fix: update gemspec to modern standards

fix: update gemspec to modern standards #2

Workflow file for this run

# .github/workflows/release.yml
jobs:
push:

Check failure on line 3 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
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:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby
- name: Build gem
run: |
gem install bundler
bundle install --jobs 4 --retry 3
gem build *.gemspec
# Release
- uses: rubygems/release-gem@v1