From c8d000c321d2f1b98fcad72df28e4cd5fb203504 Mon Sep 17 00:00:00 2001 From: PotatoPresident Date: Tue, 8 Jun 2021 07:43:06 -0700 Subject: [PATCH] Forgot to update actions --- .github/workflows/build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97bd5ff..42b83c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,6 @@ jobs: build: strategy: matrix: - # Use these Java versions - java: [ - 1.8, # Minimum supported by Minecraft - 11, # Current Java LTS - 15 # Latest version - ] # and run on both Linux and Windows os: [ubuntu-20.04, windows-latest] runs-on: ${{ matrix.os }} @@ -24,17 +18,17 @@ jobs: uses: actions/checkout@v2 - name: validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: setup jdk ${{ matrix.java }} + - name: setup jdk 16 uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java }} + java-version: 16 - 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 == '11' }} # Only upload artifacts built from LTS java on one OS + if: ${{ runner.os == 'Linux' }} # Only upload artifacts built from LTS java on one OS uses: actions/upload-artifact@v2 with: name: Artifacts