Skip to content

Commit

Permalink
add publish step to CI, correct error in release.yml [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeen committed Mar 18, 2024
1 parent 3f8b4a9 commit 42a0a4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,14 @@ jobs:
bundler-cache: true
- name: Run tests
run: bundle exec rspec
publish:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs: [test]
steps:
- name: Dispatch Release
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Generate New Release
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
ruby-version: "3.1"
- name: Build
run: |
gem install bundler
Expand Down

0 comments on commit 42a0a4e

Please sign in to comment.