init: final commit before we start doing branching and our normal sta… #3
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 Java | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths: | |
- 'src/**' | |
- '.github/workflows/build-java.yml' | |
- 'build.gradle' | |
- 'settings.gradle' | |
- 'gradle.properties' | |
pull_request: | |
jobs: | |
build-jar: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build | |
run: ./gradlew build --scan |