Skip to content

Commit

Permalink
ci: use go-semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
coolapso committed Jun 7, 2024
1 parent 6e65cb9 commit 9f82305
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@ name: Release

on:
push:
branches: [ master, test, dev ]
branches: [ master, dev ]
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install semantic-release plugins
run: |
npm install @semantic-release/github -D
npm install @semantic-release/changelog -D
- uses: actions/checkout@v4
- name: Release
uses: go-semantic-release/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

0 comments on commit 9f82305

Please sign in to comment.