Skip to content

Commit 17c171f

Browse files
committed
ci: test build on windows
1 parent f585185 commit 17c171f

File tree

5 files changed

+136
-68
lines changed

5 files changed

+136
-68
lines changed

.github/workflows/dev-deploy.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ on:
1212
jobs:
1313
build-jar:
1414
name: Build Jar
15-
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest, windows-latest]
18+
runs-on: ${{ matrix.os }}
1619
steps:
1720
- uses: actions/checkout@v4
1821

@@ -39,10 +42,16 @@ jobs:
3942
working-directory: web
4043
run: bun install --frozen-lockfile && bun run build
4144

42-
- name: Build Boot with Gradle
45+
- name: Build Boot with Gradle (Linux)
46+
if: matrix.os == 'ubuntu-latest'
4347
run: ./gradlew :boot:test :boot:bootjar
4448

45-
- name: Upload Boot Jar
49+
- name: Build Boot with Gradle (Windows)
50+
if: matrix.os == 'windows-latest'
51+
run: ./gradlew.bat :boot:test :boot:bootjar
52+
53+
- name: Upload Boot Jar (Linux)
54+
if: matrix.os == 'ubuntu-latest'
4655
uses: actions/upload-artifact@v4
4756
with:
4857
name: boot

0 commit comments

Comments
 (0)