Skip to content

Commit

Permalink
GitHub actions: Update scons-pot workflow to set locale to 'en_US.UTF-8'
Browse files Browse the repository at this point in the history
=> Fix Gettext error due to "coding: UTF-8" removals in python files
  • Loading branch information
AAClause committed Aug 1, 2020
1 parent c6dbb2a commit 58f3032
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/scons-pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ on:
push:
branches:
- master


env:
LANG: "en_US.UTF-8"
LC_ALL: "en_US.UTF-8"
jobs:
scons-pot:
runs-on: ubuntu-latest
Expand All @@ -16,6 +19,8 @@ jobs:
python-version: 3.7
- name: Install scons
run: pip install scons
- name: Set locale
run: sudo locale-gen en_US.UTF-8 && echo $LC_ALL
- name: Install gettext
run: sudo apt-get install gettext
- name: Generating pot file
Expand Down

0 comments on commit 58f3032

Please sign in to comment.