From d70c03b246e174be14fd7e324824ba928b137d09 Mon Sep 17 00:00:00 2001 From: drunsinn Date: Wed, 27 Jan 2021 16:53:42 +0100 Subject: [PATCH] change msgfmt workflow --- .github/workflows/python-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4bbb1bf..84a770b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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/*