From 9110f998d83edcabb1532d504d461f378e8f88ba Mon Sep 17 00:00:00 2001 From: Lazy Wind Lazy Hurry <49600975+WLFJ@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:50:49 +0800 Subject: [PATCH] Update cmake.yml --- .github/workflows/cmake.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e57cb00..d46ad7e 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,7 +1,10 @@ name: Build on: - workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main ] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)