announce on LinedIn #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build branch | |
description: Builds every branch other than main, so any change pushed to GitHub in a feature branch can be built and tested | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
branches-ignore: | |
- main | |
jobs: | |
build_branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4.2.2 | |
- name: Setup Java | |
uses: actions/setup-java@v4.6.0 | |
with: | |
distribution: 'temurin' | |
java-version: 23 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4.2.2 | |
- name: Build | |
run: ./gradlew build |