Skip to content

Update asm and asm-commons to 9.7 #45

Update asm and asm-commons to 9.7

Update asm and asm-commons to 9.7 #45

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11, 17, 20]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: |
if [ "${{ matrix.java-version }}" -lt "17" ]; then
./gradlew build -i -x libby-paper:build
else
./gradlew build -i
fi