Skip to content

Commit

Permalink
fall back to the working solution
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 9, 2024
1 parent 9a728df commit bdc911e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,17 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- name: Set locale
- name: Set 'en_US' locale
if: matrix.config.locale == 'en_US'
run: |
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
sudo locale-gen zh_CN
echo "LC_ALL=zh_CN" >> $GITHUB_ENV
fi
sudo locale-gen en_US
echo "LC_ALL=en_US" >> $GITHUB_ENV
- name: Set 'zh_CN' locale
if: matrix.config.locale == 'zh_CN'
run: |
sudo locale-gen zh_CN
echo "LC_ALL=zh_CN" >> $GITHUB_ENV
- uses: actions/checkout@v4

Expand Down

0 comments on commit bdc911e

Please # to comment.