From 0040f40c2d2fdcc74578c14048c2adc2ca4a2b01 Mon Sep 17 00:00:00 2001 From: TopchetoEU Date: Wed, 1 Jan 2025 21:04:27 +0000 Subject: [PATCH] Update .github/workflows/build.yml --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48f6c91..c55a34c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,11 +11,9 @@ jobs: strategy: matrix: # Use these Java versions - java: [ - 16 # Minimum supported by Minecraft - ] + java: [16] # and run on both Linux and Windows - os: [ubuntu-20.04, windows-latest] + os: [ubuntu-20.04] runs-on: ${{ matrix.os }} steps: - name: checkout repository @@ -27,13 +25,11 @@ jobs: with: java-version: ${{ matrix.java }} - name: make gradle wrapper executable - if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from latest java on one OS - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Artifacts path: build/libs/