Skip to content

fix: name UI translation files by BCP-47 lang tag (#746) #125

fix: name UI translation files by BCP-47 lang tag (#746)

fix: name UI translation files by BCP-47 lang tag (#746) #125

Workflow file for this run

name: Upload Sources
on:
push:
branches:
- main
workflow_dispatch:
jobs:
upload-sources:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Restore Crowdin cache
uses: actions/cache/restore@v5
with:
path: .crowdin
key: crowdin-${{ github.ref_name }}
restore-keys: crowdin-${{ github.ref_name }}-
- name: Crowdin Action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_sources_args: "--cache"
upload_translations: false
download_translations: false
config: src/content/crowdin.yml
crowdin_branch_name: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Save Crowdin cache
uses: actions/cache/save@v5
if: always()
with:
path: .crowdin
key: crowdin-${{ github.ref_name }}-${{ github.run_id }}