Skip to content

Commit

Permalink
Don't attempt locale-gen except on Ubuntu (#6130)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored May 9, 2024
1 parent f7daea4 commit eaf869e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check-occasional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Set locale
if: matrix.locale == 'en_US.utf8'
if: matrix.os == 'ubuntu-latest' && matrix.locale == 'en_US.utf8'
run: |
sudo locale-gen en_US
echo "LC_ALL=en_US.utf8" >> $GITHUB_ENV
Expand Down

0 comments on commit eaf869e

Please sign in to comment.