Skip to content

fix build action

fix build action #2

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Chmod Gradle
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build --no-daemon
- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: artifacts
path: jars/