Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ jobs:
- name: Build gem
run: gem build lizard.gemspec

- name: Set up GPR credentials
run: |
mkdir -p ~/.gem
echo -e "---\n:github: Bearer ${{ secrets.GITHUB_TOKEN }}" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials

- 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
run: gem push --key github --host https://rubygems.pkg.github.com/djbender lizard-*.gem

- name: Create GitHub Release
env:
Expand Down