Skip to content

Commit

Permalink
change msgfmt workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Jan 27, 2021
1 parent f9bf95d commit d70c03b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: msgfmt
uses: whtsky/msgfmt-action@20190305
env:
WORKDIR: "locales"
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
msgfmt -o ./locales/en/LC_MESSAGES/error_text.mo ./locales/en/LC_MESSAGES/error_text.po
msgfmt -o ./locales/en/LC_MESSAGES/message_text.mo ./locales/en/LC_MESSAGES/message_text.po
msgfmt -o ./locales/de/LC_MESSAGES/error_text.mo ./locales/de/LC_MESSAGES/error_text.po
msgfmt -o ./locales/de/LC_MESSAGES/message_text.mo ./locales/de/LC_MESSAGES/message_text.po
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit d70c03b

Please sign in to comment.