Skip to content

Commit 420b45d

Browse files
fix
1 parent fdfd19e commit 420b45d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-native-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Upload executable to workflow
9292
uses: actions/upload-artifact@v4
9393
with:
94-
name: ${{ matrix.musl }} && ${{ matrix.os_family }}_${{ matrix.arch }}_musl || ${{ matrix.os_family }}_${{ matrix.arch }}
94+
name: ${{ matrix.musl && format('{0}_{1}_musl', matrix.os_family, matrix.arch) || format('{0}_{1}_musl', matrix.os_family, matrix.arch)}}
9595
path: |
9696
temporal-test-server/build/native/nativeCompile/temporal-test-server*
9797
if-no-files-found: error

temporal-test-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ if (project.hasProperty("nativeBuild")) {
121121
// everything dynamically (note the '-' rather than '+' in front of
122122
// StaticExecutable)
123123
if (isLinux() && !project.hasProperty("nativeBuildMusl")) {
124-
buildArgs.add("--static-nolibc")
124+
buildArgs.add("-H:+StaticExecutableWithDynamicLibC")
125125
} else if (isLinux() && project.hasProperty("nativeBuildMusl")) {
126126
buildArgs.add("--static")
127127
buildArgs.add("--libc=musl")

0 commit comments

Comments
 (0)