Skip to content

Commit 9448fb3

Browse files
committed
🐛 attempt to fix rake release
1 parent c909f45 commit 9448fb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-branch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
if: github.ref != 'refs/head/main'
7+
if: github.ref != 'refs/heads/main'
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
@@ -27,10 +27,11 @@ jobs:
2727
if: github.ref == 'refs/heads/main'
2828
runs-on: ubuntu-latest
2929
steps:
30+
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
3031
- uses: actions/checkout@v1
3132
- name: Release Gem
3233
uses: cadwallion/publish-rubygems-action@master
3334
env:
3435
GITHUB_TOKEN: ${{secrets.GH_CREDENTIALS}}
3536
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
36-
RELEASE_COMMAND: rake release
37+
RELEASE_COMMAND: bundle exec rake release

0 commit comments

Comments
 (0)