Initial implementation

This commit is contained in:
Taiki Endo
2021-12-30 17:33:20 +09:00
parent 2268dc2bb7
commit 0a6b5bf893
14 changed files with 792 additions and 0 deletions

30
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Release
permissions:
# TODO: once `releases: write` is supported, use it instead.
contents: write
on:
push:
tags:
- v[0-9]+.[0-9]+.*
defaults:
run:
shell: bash
jobs:
create-release:
if: github.repository_owner == 'taiki-e'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
title: $version
branch: 'main|v[0-9]+'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}