Skip to content

Commit

Permalink
also cover the case when locale is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 9, 2024
1 parent 15cf8f5 commit 9a728df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- name: Set locale
run: |
if [ "${{ matrix.config.locale }}" == "en_US" ]; then
if [ -z "${{ matrix.config.locale }}" ] || [ "${{ matrix.config.locale }}" == "en_US" ]; then
sudo locale-gen en_US
echo "LC_ALL=en_US" >> $GITHUB_ENV
elif [ "${{ matrix.config.locale }}" == "zh_CN" ]; then
Expand Down

0 comments on commit 9a728df

Please # to comment.