Skip to content

Commit 384236d

Browse files
authored
Ensure msgfmt is installed for publish (#736)
In order to compile po files to mo, msgfmt command must be installed on the ubuntu build machine. Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
1 parent 3815d12 commit 384236d

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
python-version: 3.12
2525

2626
- name: Install dependencies
27-
run: pip install setuptools wheel
27+
run: |
28+
sudo apt-get install gettext
29+
pip install setuptools wheel
2830
2931
- name: Build a binary wheel and a source tarball
3032
run: |

.github/workflows/publish-to-test-pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
python-version: 3.12
2525

2626
- name: Install dependencies
27-
run: pip install setuptools wheel
27+
run: |
28+
sudo apt-get install gettext
29+
pip install setuptools wheel
2830
2931
- name: Build a binary wheel and a source tarball
3032
run: |

.github/workflows/upload-asset.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
python-version: 3.12
2727

2828
- name: Install dependencies
29-
run: pip install setuptools wheel
29+
run: |
30+
sudo apt-get install gettext
31+
pip install setuptools wheel
3032
3133
- name: Build a binary wheel and a source tarball
3234
run: |

0 commit comments

Comments
 (0)