From 9f91fc9cefc02f73c0fe2b8d832b52019483014b Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Mon, 26 Aug 2024 12:20:23 +0200 Subject: [PATCH] build-branch github action --- .github/workflows/build-branch.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build-branch.yml diff --git a/.github/workflows/build-branch.yml b/.github/workflows/build-branch.yml new file mode 100644 index 0000000..788a6aa --- /dev/null +++ b/.github/workflows/build-branch.yml @@ -0,0 +1,23 @@ +name: Build main +on: + push: + branches-ignore: + - main + pull_request: + branches-ignore: + - main +jobs: + build_main: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4.1.7 + - name: Setup Java + uses: actions/setup-java@v4.2.2 + with: + distribution: 'temurin' + java-version: 22 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + - name: Build + run: ./gradlew build