third try
Some checks failed
build / build (17, ubuntu-22.04) (push) Failing after 10s

This commit is contained in:
Flummi 2023-06-04 13:38:36 +02:00
parent 0b2fe81d1f
commit 4d53f616bd
Signed by: Flummi
GPG Key ID: AA2AEF822A6F4817

View File

@ -15,7 +15,7 @@ jobs:
17, # Current Java LTS & minimum supported by Minecraft 17, # Current Java LTS & minimum supported by Minecraft
] ]
# and run on both Linux and Windows # and run on both Linux and Windows
os: [ubuntu-22.04, windows-2022] os: [ubuntu-22.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: checkout repository - name: checkout repository
@ -28,12 +28,11 @@ jobs:
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
distribution: 'microsoft' 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
- name: capture build artifacts - name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS if: ${{ matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Artifacts name: Artifacts