Skip to content

Commit

Permalink
[Build] Force some more UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaka committed Oct 14, 2024
1 parent b03cc5d commit 89d0c09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
- name: Build JVM OCI image
run: gradle jib -Djib.serialize=true # https://github.com/GoogleContainerTools/jib/issues/4301
env:
LC_ALL: "C.UTF-8"
LANG: "en_US.UTF-8"
LC_ALL: "en_US.UTF-8"
USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
Expand All @@ -85,7 +86,8 @@ jobs:
- name: Build Native OCI Image
run: gradle bootBuildImage --publishImage --imagePlatform linux/amd64
env:
LC_ALL: "C.UTF-8"
LANG: "en_US.UTF-8"
LC_ALL: "en_US.UTF-8"
USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
Expand Down
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ tasks.withType<BootBuildImage> {
"BP_HEALTH_CHECKER_ENABLED" to "true",
"BP_JVM_CDS_ENABLED" to "true",
"BP_JVM_VERSION" to "23",
"BPE_LANG" to "en_US.UTF-8",
"BPE_LC_ALL" to "en_US.UTF-8",
"JAVA_TOOL_OPTIONS" to """
-Dsun.jnu.encoding=UTF-8
-Dfile.encoding=UTF-8
Expand Down

0 comments on commit 89d0c09

Please sign in to comment.