Skip to content

Update Setup Gradle #178

Update Setup Gradle

Update Setup Gradle #178

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 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
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'