From a10d9242c23e8d7540b085d6138ed335c6355b77 Mon Sep 17 00:00:00 2001 From: squid233 <60126026+squid233@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:07:58 +0800 Subject: [PATCH] Update workflow --- .github/workflows/gradle.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 0e551bb..d0c2ed6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -7,7 +7,12 @@ name: Java CI with Gradle -on: [ push, pull_request ] +on: + push: + branches: + - main + pull_request: + workflow_dispatch: jobs: build: