This commit is contained in:
zly2006 committed 2024-07-11 12:14:02 +08:00
1 parent 4ba22176bc
commit 07596c15c7
1 file changed
+2 -4
+2 -4
View File
@@ -12,10 +12,9 @@ jobs:
matrix:
# Use these Java versions
java: [
17, # Current Java LTS & minimum supported by Minecraft
21
]
# and run on both Linux and Windows
os: [ubuntu-20.04, windows-2022]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
@@ -32,7 +31,6 @@ jobs:
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts