Skip to content

Commit 9a728df

Browse files
also cover the case when locale is missing
1 parent 15cf8f5 commit 9a728df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- name: Set locale
4242
run: |
43-
if [ "${{ matrix.config.locale }}" == "en_US" ]; then
43+
if [ -z "${{ matrix.config.locale }}" ] || [ "${{ matrix.config.locale }}" == "en_US" ]; then
4444
sudo locale-gen en_US
4545
echo "LC_ALL=en_US" >> $GITHUB_ENV
4646
elif [ "${{ matrix.config.locale }}" == "zh_CN" ]; then

0 commit comments

Comments
 (0)