28 lines
626 B
YAML
28 lines
626 B
YAML
|
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
|