mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-27 23:55:56 -05:00
18f29f8bdb
For #210 * update changelog format so that `parse-changelog` is happy. * add the example from taiki-e/create-gh-release-action verbatim. Fingers crossed it works in my setup.
20 lines
423 B
YAML
20 lines
423 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v[0-9]+.*
|
|
|
|
jobs:
|
|
create-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: taiki-e/create-gh-release-action@v1
|
|
with:
|
|
# (Optional) Path to changelog.
|
|
changelog: CHANGELOG.md
|
|
env:
|
|
# (Required) GitHub token for creating GitHub Releases.
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|