This commit is contained in:
parent
942d6c11a0
commit
02ce3e6b29
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -14,8 +14,7 @@ jobs:
|
|||||||
java: [
|
java: [
|
||||||
17, # Current Java LTS & minimum supported by Minecraft
|
17, # Current Java LTS & minimum supported by Minecraft
|
||||||
]
|
]
|
||||||
# and run on both Linux and Windows
|
os: [ubuntu-22.04]
|
||||||
os: [ubuntu-22.04, windows-2022]
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
@ -26,9 +25,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'microsoft'
|
|
||||||
- name: make gradle wrapper executable
|
- name: make gradle wrapper executable
|
||||||
if: ${{ runner.os != 'Windows' }}
|
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
- name: build
|
- name: build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
Reference in New Issue
Block a user