Skip to content

Merge pull request #199 from NertzhulDEV/1.21 #116

Merge pull request #199 from NertzhulDEV/1.21

Merge pull request #199 from NertzhulDEV/1.21 #116

Workflow file for this run

name: Build
on: [ push, workflow_dispatch ]
jobs:
build:
strategy:
matrix:
java: [ 21 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{ matrix.java }}
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build --stacktrace --parallel
- name: Capture build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/