Skip to content

Commit

Permalink
Updated CI/CD for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpokusa committed Jul 31, 2024
1 parent b394416 commit 94a078a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ jobs:
python-version: 3.x

- name: Install dependencies
run: python3 -m pip install --upgrade pip build twine
run: |
apt update
apt install -y gettext
python3 -m pip install --upgrade pip django build twine
- name: Compile .po files to .mo
run: django-admin compilemessages --ignore "**/django/**"

- name: Build package
env:
Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
recursive-include django_admin_actions_args/static *.css *.js
recursive-include django_admin_actions_args/templates *.html

include django_admin_actions_args/locale/*/LC_MESSAGES/*.mo
include django_admin_actions_args/locale/*/LC_MESSAGES/*.po

0 comments on commit 94a078a

Please sign in to comment.