From 67ad750cf25adbe7b5ecc32ed4480d5c0cd5804f Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Sat, 23 Dec 2023 18:09:34 +0100 Subject: [PATCH] Test with custom trusted publishing 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. --- .github/workflows/release.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ab9c55..e594e89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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