提交 dcdd4244 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

clean

上级 d15153d6
......@@ -22,6 +22,7 @@ jobs:
- run: ./scripts/docker.sh test
publish-docker:
name: Publish to Docker Hub
needs: [build]
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/v[0-9]+'))
runs-on: ubuntu-latest
......
......@@ -25,9 +25,9 @@ jobs:
run: npm test
pack:
name: Pack
needs: build
runs-on: ubuntu-latest
name: Pack
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
......@@ -40,6 +40,7 @@ jobs:
WECHATY_PUPPET_PADPLUS_TOKEN: ${{ secrets.WECHATY_PUPPET_PADPLUS_TOKEN }}
publish-npm:
name: Publish to NPM
needs: [build, pack]
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, '/refs/heads/v[0-9]+'))
runs-on: ubuntu-latest
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册