Skip to content

Commit 35c9db0

Browse files
committed
linux only build script
1 parent 320f788 commit 35c9db0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [21]
15-
# and run on both Linux and Windows
16-
os: [ubuntu-22.04, windows-2022]
17-
runs-on: ${{ matrix.os }}
15+
runs-on: ubuntu-22.04
1816
steps:
1917
- name: checkout repository
2018
uses: actions/checkout@v4
@@ -26,12 +24,11 @@ jobs:
2624
java-version: ${{ matrix.java }}
2725
distribution: 'microsoft'
2826
- name: make gradle wrapper executable
29-
if: ${{ runner.os != 'Windows' }}
3027
run: chmod +x ./gradlew
3128
- name: build
3229
run: ./gradlew chiseledBuild
3330
- name: capture build artifacts
34-
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
31+
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
3532
uses: actions/upload-artifact@v4
3633
with:
3734
name: Artifacts

0 commit comments

Comments
 (0)