mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-08 18:05:42 +08:00
30 lines
581 B
YAML
30 lines
581 B
YAML
name: Release
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v[0-9]+.[0-9]+.*
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash --noprofile --norc -CeEuxo pipefail {0}
|
|
|
|
jobs:
|
|
create-release:
|
|
if: github.repository_owner == 'taiki-e'
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: taiki-e/checkout-action@v1
|
|
- uses: taiki-e/create-gh-release-action@v1
|
|
with:
|
|
changelog: CHANGELOG.md
|
|
title: $version
|
|
branch: 'main|v[0-9]+'
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|