Skip to content

Update gradle.yml

Update gradle.yml #1

Workflow file for this run

# Java Gradle workflow for automated building
# ref: https://docs.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java Build
on: [push, pull_request, workflow_dispatch]
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'
- name: Validate Gradle wrapper
uses: gradle/[email protected]
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build
- uses: actions/[email protected]
with:
name: jars
path: build/libs