From dd65c67568d55ae08322abe93d9795d736d2faa8 Mon Sep 17 00:00:00 2001 From: qier222 Date: Sat, 25 Sep 2021 19:12:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0build.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a30ca4e..1c2d2fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,6 +1,12 @@ name: Build / Release -on: [push, pull_request] +on: + push: + branches: + - 'master' + pull_request: + branches: + - '!deploy' jobs: release: @@ -8,7 +14,7 @@ jobs: strategy: matrix: - os: [macos-latest, windows-latest, ubuntu-16.04] + os: [macos-latest, windows-latest, ubuntu-18.04] steps: - name: Check out Git repository