From b9a75bce970236e005df353d9fb56f84e6945522 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Mon, 15 Jul 2024 09:42:25 +0200 Subject: [PATCH] Update GH actions triggers --- .github/workflows/ci-build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 4a1e4ca..4ff0cc5 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,5 +1,11 @@ name: Build Plugin -on: [ push, pull_request ] + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + jobs: gradle-build: runs-on: ubuntu-latest @@ -7,7 +13,7 @@ jobs: - name: git clone uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v4.2.1 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11