Skip to content

Merge pull request #75 from kdbinsidebrains/watches #182

Merge pull request #75 from kdbinsidebrains/watches

Merge pull request #75 from kdbinsidebrains/watches #182

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --scan
- name: Upload build reports
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: build-reports
path: build/reports/