Skip to content

Commit

Permalink
chore(gh): update release-please-action & run tests before release
Browse files Browse the repository at this point in the history
  • Loading branch information
gierschv committed Mar 8, 2024
1 parent 529c2e4 commit 7511c7b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

contents: write
pull-requests: write
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: ruby
Expand All @@ -27,6 +26,10 @@ jobs:
with:
ruby-version: 3.3
if: ${{ steps.release.outputs.release_created }}
- name: Run tests
run: |
bundle exec rspec
if: ${{ steps.release.outputs.release_created }}
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
Expand Down

0 comments on commit 7511c7b

Please sign in to comment.