diff options
author | modmuss50 <modmuss50@gmail.com> | 2021-05-12 20:41:38 +0100 |
---|---|---|
committer | modmuss50 <modmuss50@gmail.com> | 2021-05-12 20:41:38 +0100 |
commit | 50f0be767c69f3ac49c3a2c4c8669354a39fd9b3 (patch) | |
tree | bdc742db4382ca89f9c87ba6d6854c5fe0157f80 /.github/workflows/build.yml | |
parent | 29c522536fc16233833221e22eed3f106c0726bc (diff) |
Update to 21w19a and Java 16
This commit can be used as an example on how to update your mod to Java 16. You will need to ensure you have Java 16 installed and set as the active version to run this. Gradle 7 is required along with loom 0.8
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31c38ee..48f6c91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,7 @@ jobs: matrix: # Use these Java versions java: [ - 1.8, # Minimum supported by Minecraft - 11, # Current Java LTS - 15 # Latest version + 16 # Minimum supported by Minecraft ] # and run on both Linux and Windows os: [ubuntu-20.04, windows-latest] @@ -34,7 +32,7 @@ jobs: - 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' && matrix.java == '16' }} # Only upload artifacts built from latest java on one OS uses: actions/upload-artifact@v2 with: name: Artifacts |