fix: update release workflow

BREAKING CHANGE: The development branch name has been changed. Most cases are unaffected.
This commit is contained in:
mob-sakai
2020-10-27 23:23:53 +09:00
parent 8b328154a4
commit 37ff06dd12
3 changed files with 189 additions and 20 deletions

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

@@ -0,0 +1,27 @@
name: release
on:
push:
branches:
- preview
- master
- v*.x
tags-ignore:
- "**"
jobs:
release:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]') && ! contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v2
- run: |
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
npx semantic-release -e @mob-sakai/semantic-release-upm
env:
GITHUB_TOKEN: ${{ github.token }}
- run: cat package.json
- run: ls