CI - Build artifact on commits #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Transifex 🗺 | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.py' | |
- '**.ui' | |
jobs: | |
push: | |
name: Push to Transifex | |
runs-on: ubuntu-latest | |
if: github.repository == '3liz/QuickOSM' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- uses: actions/cache@v4.0.1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/packaging.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install Python requirements | |
run: pip install -r requirements/packaging.txt | |
- name: Push to Transifex | |
run: qgis-plugin-ci push-translation ${{ secrets.TRANSIFEX_TOKEN }} |