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