java 11 workflow

This commit is contained in:
creeper123123321 2021-03-30 08:51:53 -03:00
parent 0e3e6e27ea
commit 63a1be763e

View File

@ -12,7 +12,7 @@ jobs:
matrix:
# Use these Java versions
java: [
16 # Latest version
11
]
os: [windows-latest]
runs-on: ${{ matrix.os }}
@ -29,8 +29,8 @@ jobs:
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Windows' && matrix.java == '16' }} # Only upload artifacts built from LTS java on one OS
if: ${{ runner.os == 'Windows' && matrix.java == '11' }} # Only upload artifacts built from LTS java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/
path: build/libs/