Skip to content

Add Example

Add Example #2

Workflow file for this run

name: Build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
shell: bash
run: ./gradlew build
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: jar
path: build/libs/*