Skip to content

Commit

Permalink
Create GitHub release on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Dec 30, 2022
1 parent f78c6b7 commit e766353
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ on:
- v*

jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: bundle exec rake build
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GH_TOKEN }}
files: pkg/*
fail_on_unmatched_files: true
prerelease: ${{ contains(github.ref_name, 'pre') }}
rubygems:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down

0 comments on commit e766353

Please sign in to comment.