From e5f0459d58b8adbb94f8e092eaccc4ccdae986ee Mon Sep 17 00:00:00 2001 From: Xun Li Date: Thu, 9 Sep 2021 11:51:53 -0700 Subject: [PATCH] Update build-publish.yml --- .github/workflows/build-publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index fa431ed..0491f9d 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -1,6 +1,13 @@ name: Ubuntu and Mac builds -on: push +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: jobs: