Skip to content

Commit 8d0a05f

Browse files
authored
Set GRADLE_OPTS for Windows in nativeCompile workflow
Added environment variable for Windows compatibility.
1 parent 28bb6cf commit 8d0a05f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nativeCompile.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838
# Therefore, we try to find runners that fit our targets (see above).
3939
- name: Build 'asu'
4040
run: ./gradlew nativeCompile
41-
41+
env:
42+
# Needed for Windows; not an issue for other OSes
43+
GRADLE_OPTS: -Djava.io.tmpdir=${{ runner.temp }}
44+
4245
- name: Upload binary
4346
uses: actions/upload-artifact@v4
4447
with:

0 commit comments

Comments
 (0)