Skip to content

Commit

Permalink
.github: build simple gem too
Browse files Browse the repository at this point in the history
Build & push a simple gem too. Maybe this will solve our issues?
  • Loading branch information
GiedriusS committed Mar 27, 2024
1 parent 45e5768 commit 439cb04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_release_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
if: success() && github.ref == 'refs/heads/master'
run: |
bundle exec rake gem:x86_64-linux
gem build prometheus-client-mmap.gemspec
echo "::set-output name=gem_version::v$(bundle exec rake version)"
- name: Release to rubygems
if: success() && github.ref == 'refs/heads/master'
Expand All @@ -36,6 +37,7 @@ jobs:
chmod 600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem push pkg/vinted-prometheus-client-mmap-*.gem -V
gem push vinted-prometheus-client-mmap-*.gem -V
env:
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
- name: Tag repo with new gem version
Expand Down

0 comments on commit 439cb04

Please sign in to comment.