Skip to content

Commit 164e0b0

Browse files
Try to fix Windows launcher upload job
1 parent 4d58ce0 commit 164e0b0

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ jobs:
110110
with:
111111
jvm: "zulu:17"
112112
- run: |
113-
./mill -i "cli.writeNativeImageScript" generate.sh "" && \
114-
export USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM=false &&
115-
./generate.sh && \
113+
./mill -i "cli.writeNativeImageScript" generate.sh "" &&\
114+
export USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM=false &&\
115+
./generate.sh &&\
116116
./mill -i "cli.copyToArtifacts" artifacts/
117117
if: runner.os != 'Windows'
118118
- run: |
@@ -129,7 +129,12 @@ jobs:
129129
- run: |
130130
./mill -i __.publishLocal &&\
131131
./mill -i "integration.test.native"
132-
if: github.event_name == 'push'
132+
if: github.event_name == 'push' && runner.os != 'Windows'
133+
- run: |
134+
./mill.bat -i __.publishLocal
135+
./mill.bat -i integration.test.native
136+
if: github.event_name == 'push' && runner.os == 'Windows'
137+
shell: bash
133138
134139
upload-launchers:
135140
name: Upload CLI

0 commit comments

Comments
 (0)