Skip to content

Commit eaf869e

Browse files
Don't attempt locale-gen except on Ubuntu (#6130)
1 parent f7daea4 commit eaf869e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/R-CMD-check-occasional.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Set locale
37-
if: matrix.locale == 'en_US.utf8'
37+
if: matrix.os == 'ubuntu-latest' && matrix.locale == 'en_US.utf8'
3838
run: |
3939
sudo locale-gen en_US
4040
echo "LC_ALL=en_US.utf8" >> $GITHUB_ENV

0 commit comments

Comments
 (0)