diff --git a/.github/workflows/check-full.yaml b/.github/workflows/check-full.yaml index 4a8b64848..36a788509 100644 --- a/.github/workflows/check-full.yaml +++ b/.github/workflows/check-full.yaml @@ -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