docs: add skill value framework for professions (#9775) #3710
This file contains hidden or 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: "Push translation template" | |
| concurrency: | |
| group: push_transifex | |
| cancel-in-progress: true | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| push-template: | |
| if: github.repository == 'cataclysmbn/Cataclysm-BN' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: "Install gettext tools" | |
| run: sudo apt-get install -y gettext | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Push translation template | |
| run: | | |
| # venv context isn't shared across steps | |
| uv python install --default | |
| uv venv | |
| source .venv/bin/activate | |
| uv pip install polib "luaparser>=3.3.1" | |
| lang/update_pot.sh | |
| - name: "Push translation template to Transifex server" | |
| uses: transifex/cli-action@v2 | |
| with: | |
| token: ${{ secrets.TX_TOKEN }} | |
| args: push --source |