Browse Source

fix: Crowdin upload sources action (#672)

* Fix Crowdin upload sources action

* Replace biome with deno in vscode extension recommendations

---------

Co-authored-by: philon- <[email protected]>
pull/673/head
Jeremy Gallant 12 months ago
committed by GitHub
parent
commit
0e6a4818ea
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 22
      .github/workflows/crowdin-upload-sources.yml
  2. 2
      .vscode/extensions.json

22
.github/workflows/crowdin-upload-sources.yml

@ -5,9 +5,9 @@ on:
# Monitor all .json files within the /src/i18n/locales/en/ directory. # Monitor all .json files within the /src/i18n/locales/en/ directory.
# This ensures the workflow triggers if any the English namespace files are modified on the main branch. # This ensures the workflow triggers if any the English namespace files are modified on the main branch.
paths: paths:
- '/src/i18n/locales/en/**/*.json' - "/src/i18n/locales/en/*.json"
branches: [ main ] branches: [main]
workflow_dispatch: # Allow manual triggering workflow_dispatch: # Allow manual triggering
jobs: jobs:
synchronize-with-crowdin: synchronize-with-crowdin:
@ -20,13 +20,13 @@ jobs:
- name: Upload sources with Crowdin - name: Upload sources with Crowdin
uses: crowdin/github-action@v2 uses: crowdin/github-action@v2
with: with:
base_url: 'https://meshtastic.crowdin.com/api/v2' base_url: "https://meshtastic.crowdin.com/api/v2"
config: 'crowdin.yml' config: "crowdin.yml"
upload_sources: true upload_sources: true
upload_translations: false upload_translations: false
download_translations: false download_translations: false
crowdin_branch_name: 'main' crowdin_branch_name: "main"
env: env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

2
.vscode/extensions.json

@ -1,3 +1,3 @@
{ {
"recommendations": ["bradlc.vscode-tailwindcss", "biomejs.biome"] "recommendations": ["bradlc.vscode-tailwindcss", "denoland.vscode-deno"]
} }

Loading…
Cancel
Save