Skip to content

Commit

Permalink
Test with custom trusted publishing
Browse files Browse the repository at this point in the history
The rubygems/release-gem workflow relies on `rake release` which is not
set up in this project. Luckily, the
rubygems/configure-rubygems-credentials is a separate action that can be
integrated in theforeman/actions' release-gem workflow. This is testing
it out.
  • Loading branch information
ekohl committed Dec 23, 2023
1 parent 4e0aa76 commit 67ad750
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@ on:
ref_type: tag

jobs:
push:
runs-on: ubuntu-latest

release:
name: Release gem
permissions:
contents: write
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- uses: rubygems/release-gem@v1
uses: ekohl/actions/.github/workflows/release-gem.yml@trusted-publishing
with:
allowed_owner: voxpupuli

0 comments on commit 67ad750

Please sign in to comment.