Fix syntax #3
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: crowdin upload | ||
on: | ||
push: | ||
branches: [crowdinUpload2] | ||
jobs: | ||
Crowdin upload: | ||
Check failure on line 7 in .github/workflows/crowdin.yaml GitHub Actions / crowdin uploadInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.sha }} | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
architecture: x86 | ||
- name: generate pot file | ||
run: | | ||
xgettext -o nvda.pot --package-name "nvda" --package-version ${{ github.sha }} --foreign-user --add-comments=Translators:" --keyword=pgettext:1c,2 --keyword=npgettext:1c,2,3 --from-code utf-8 --language=python source/*.pyw source/**.py | ||
- name: Upload to Crowdin | ||
env: | ||
crowdinProjectID: ${{ secrets.crowdinProjectID }} | ||
crowdinAuthToken: ${{ secrets.crowdinAuthToken }} | ||
run: | | ||
py crowdinSync.py uploadSourceFile 2 nvda.pot nvda.pot |