Skip to content

Update build.yml

Update build.yml #7

Workflow file for this run

name: Build Gradle project
on:
push:
jobs:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew build
- uses: actions/upload-artifact@v3
with:
name: build-outputs
path: "*/build/libs/*.jar"