Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
GitHub releases will be triggered by tags pushing, you can also add some steps like website deployment in this workflow.
  • Loading branch information
Goooler committed Jul 5, 2024
1 parent 1463cb2 commit 3bc23b3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release

on:
push:
tags:
- '**'

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
with:
release_notes_file: RELEASE_NOTE.md
- name: Create release
run: gh release create ${{ github.ref_name }} --notes-file RELEASE_NOTE.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3bc23b3

Please sign in to comment.