diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-03-05 17:19:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-05 17:19:25 +0100 |
| commit | fc766b53364e4ff9ffc7435b6af3ec1e8e3a4f56 (patch) | |
| tree | 2f9cc3e37ec11fb7efae0f6dffb378db1a1a1784 /.github | |
| parent | 723c03e5a9519a502f328edacbed84eb0dc884c2 (diff) | |
update electron translations (#1031)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/translations.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index b907e52d..2b18f3df 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -4,7 +4,7 @@ on: - cron: '0 0 * * *' jobs: crowdin: - runs-on: ubuntu-16.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: @@ -16,7 +16,7 @@ jobs: git submodule update --init --recursive - uses: actions/setup-python@v1 with: - python-version: '2.7.x' + python-version: '3.x' - env: CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }} run: | @@ -41,7 +41,8 @@ jobs: # files when a new translation string is added but we don't need to # commit those until folks actually translate the new strings. if git diff translations | grep -qE '^[-+]msgstr ".+"$'; then - git add translations + make electron/src/renderer/assets/translations.json + git add translations electron/src/renderer/assets/translations.json git commit -m "new translations from Crowdin" git push https://github.com/inkstitch/inkstitch main fi |
