Skip to content

Commit c07407a

Browse files
author
Oleksandr Dzhychko
authored
Merge pull request #1262 from modelix/disable-globalization-support-in-ci
ci: disable globalization support when running @microsoft/sarif-multitool
2 parents 260e367 + 5a29c47 commit c07407a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ jobs:
6868
- name: Combine SARIF files
6969
run: |
7070
npx @microsoft/sarif-multitool merge --merge-runs --output-file merged.sarif $(find . -iname '*.sarif*')
71+
env:
72+
# Disables globalization support.
73+
# This makes the @microsoft/sarif-multitool work without ICU package installed.
74+
# If not disabled, we get the following error:
75+
# > Process terminated.
76+
# > Couldn't find a valid ICU package installed on the system.
77+
# > Set the configuration flag System.Globalization.Invariant to true
78+
# > if you want to run with no globalization support.
79+
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
7180
- name: Upload SARIF file
7281
uses: github/codeql-action/upload-sarif@v3
7382
with:

0 commit comments

Comments
 (0)