Skip to content

Commit 22ab092

Browse files
committed
Fix compilation errors
1 parent 3b5fd4e commit 22ab092

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build-windows-mingw.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: windows-latest
11+
env:
12+
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
1113
steps:
1214
- uses: actions/checkout@v4
1315

.github/workflows/build-windows-msys2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
defaults:
1212
run:
1313
shell: msys2 {0}
14+
env:
15+
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
1416
steps:
1517
- uses: actions/checkout@v4
1618

.github/workflows/build-windows-vs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: windows-latest
11+
env:
12+
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
1113
steps:
1214
- uses: actions/checkout@v4
1315

@@ -23,8 +25,6 @@ jobs:
2325
gil update
2426
2527
- name: "Build"
26-
env:
27-
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
2828
run: |
2929
cd build
3030
./vs.bat

0 commit comments

Comments
 (0)