Skip to content

feat(build): Java 21 #12

feat(build): Java 21

feat(build): Java 21 #12

Workflow file for this run

name: "CI Build"
on: [ pull_request, push ]
jobs:
build:
name: "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: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew shadowJar
- name: Capture build artifacts
uses: actions/upload-artifact@v3
with:
name: MinestomLauncher-CI-${{ github.sha }}
path: build/libs/