Skip to content

v0.2.0

v0.2.0 #16

Workflow file for this run

name: Push Gem
on:
release:
types:
- published
permissions:
contents: read
jobs:
push:
if: github.repository == 'rubygems/configure_trusted_publisher'
runs-on: ubuntu-latest
environment:
name: rubygems.org
url: https://rubygems.org/gems/configure_trusted_publisher
permissions:
contents: write
id-token: write
steps:
# Set up
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Ruby
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
bundler-cache: true
ruby-version: ruby
# Release
- uses: rubygems/release-gem@29c284620447a857040f93716ff7660e71cfc1de