Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Commit 93c4e25

Browse files
author
Robert Clark
committed
Fix GitHub Package Repository publishing
1 parent 2400e2e commit 93c4e25

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
gem push *.gem
2727
env:
2828
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
29-
- name: Publish to GitHub
30-
uses: jstastny/publish-gem-to-github@master
31-
with:
32-
token: ${{ secrets.GITHUB_TOKEN }}
33-
owner: mitre
29+
- name: Publish to GPR
30+
run: |
31+
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
32+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
33+
env:
34+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
35+
OWNER: mitre

0 commit comments

Comments
 (0)