update action
Some checks failed
build / build (17, ubuntu-22.04) (push) Failing after 7s

This commit is contained in:
Lee 2023-11-04 17:45:09 +00:00
parent 942d6c11a0
commit 02ce3e6b29

@ -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