translations.yml 631 B

1234567891011121314151617181920212223242526
  1. name: 🌎 Translations
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. translations:
  8. runs-on: ubuntu-20.04
  9. if: ${{ github.repository == 'opengisch/QField' }}
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@v2
  13. - name: Install Requirements
  14. run: |
  15. sudo apt update && sudo apt install qttools5-dev-tools qt5-default
  16. sudo pip install wheel
  17. sudo pip install pygithub transifex-client
  18. ./scripts/ci/env_gh.sh
  19. - name: "🌍 Push Translations"
  20. env:
  21. TX_TOKEN: ${{ secrets.TX_TOKEN }}
  22. run: ./scripts/ci/update-translations.sh