diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e2225e..ea03a28 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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