Skip to content

Commit 595cee8

Browse files
committed
build: update release workflow
1 parent b43326c commit 595cee8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches:
6+
- preview
7+
- master
8+
- v*.x
9+
tags-ignore:
10+
- "**"
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
if: "! contains(github.event.head_commit.message, '[skip ci]') && ! contains(github.event.head_commit.message, '[ci skip]')"
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- run: |
20+
npm i https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
21+
npx semantic-release -e @mob-sakai/semantic-release-upm
22+
env:
23+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)