We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093013c commit 194ddf5Copy full SHA for 194ddf5
1 file changed
.github/workflows/release.yml
@@ -25,10 +25,14 @@ jobs:
25
- name: Build gem
26
run: gem build lizard.gemspec
27
28
+ - name: Set up GPR credentials
29
+ run: |
30
+ mkdir -p ~/.gem
31
+ echo -e "---\n:github: Bearer ${{ secrets.GITHUB_TOKEN }}" > ~/.gem/credentials
32
+ chmod 0600 ~/.gem/credentials
33
+
34
- name: Publish to GitHub Packages
- env:
- GEM_HOST_API_KEY: Bearer ${{ secrets.GITHUB_TOKEN }}
- run: gem push --host https://rubygems.pkg.github.com/djbender lizard-*.gem
35
+ run: gem push --key github --host https://rubygems.pkg.github.com/djbender lizard-*.gem
36
37
- name: Create GitHub Release
38
env:
0 commit comments