mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-18 15:47:46 +01:00
java 11 workflow
This commit is contained in:
parent
0e3e6e27ea
commit
63a1be763e
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user