Skip to content

Base 1.20.2

Base 1.20.2 #63

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
cache-read-only: false
gradle-home-cache-cleanup: true
- name: Make Gradle Wrapper Executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build with Gradle Wrapper
run: ./gradlew build
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: mcwifipnp-artifacts
path: '**/build/libs/*.jar'