java 11 workflow

This commit is contained in:
creeper123123321 2021-03-30 08:51:53 -03:00
parent 885f881a83
commit a52097ff1c

View File

@ -12,7 +12,7 @@ jobs:
matrix: matrix:
# Use these Java versions # Use these Java versions
java: [ java: [
16 # Latest version 11
] ]
os: [windows-latest] os: [windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -29,8 +29,8 @@ jobs:
- name: build - name: build
run: ./gradlew build run: ./gradlew build
- name: capture build artifacts - 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 uses: actions/upload-artifact@v2
with: with:
name: Artifacts name: Artifacts
path: build/libs/ path: build/libs/