2023-02-17 19:07:55 +01:00
|
|
|
name: Release
|
|
|
|
permissions:
|
|
|
|
contents: write
|
2023-02-17 18:44:59 +01:00
|
|
|
on:
|
|
|
|
push:
|
2023-02-17 19:07:55 +01:00
|
|
|
tags:
|
|
|
|
- v[0-9]+.*
|
2023-02-17 18:44:59 +01:00
|
|
|
jobs:
|
2023-02-17 19:07:55 +01:00
|
|
|
create-release:
|
2023-02-17 18:44:59 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-02-17 19:07:55 +01:00
|
|
|
- uses: actions/checkout@v3
|
2023-02-17 18:44:59 +01:00
|
|
|
- uses: taiki-e/create-gh-release-action@v1
|
|
|
|
with:
|
|
|
|
# (Optional) Path to changelog.
|
|
|
|
changelog: CHANGELOG.md
|
|
|
|
# (Optional) Create a draft release.
|
|
|
|
# [default value: false]
|
|
|
|
draft: true
|
|
|
|
# (Required) GitHub token for creating GitHub Releases.
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|