未验证 提交 b56632f2 编写于 作者: C colynn.liu 提交者: GitHub

Merge pull request #201 from go-atomci/feat-github-action-condition

🔧 build: action add conditions
......@@ -6,7 +6,7 @@ on:
- master
push:
branches:
- master
- '*'
jobs:
build:
runs-on: ubuntu-latest
......@@ -25,6 +25,10 @@ jobs:
yarn install
yarn run build
image:
if: github.repository == 'go-atomci/atomci' && github.com.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
......
......@@ -7,6 +7,7 @@ on:
- v2.0-alpha
jobs:
sync:
if: github.repository == 'go-atomci/atomci'
runs-on: ubuntu-latest
steps:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册