Skip to content

Clean up gradle building #98

Clean up gradle building

Clean up gradle building #98

Workflow file for this run

name: Build on Push/PR
on:
pull_request:
push:
workflow_dispatch:
env:
JAVA_VERSION: 17
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "${{env.JAVA_VERSION}}"
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: gradle build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/