This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
fix: some fixes for the new api (#1014) #368
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 Source | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
crowdin: | |
- 'locale/en_US.ts' | |
- name: crowdin action | |
if: steps.changes.outputs.crowdin == 'true' | |
uses: crowdin/[email protected] | |
with: | |
upload_sources: true | |
upload_translations: false | |
download_translations: false | |
source: locale/en_US.ts | |
translation: locale/%locale_with_underscore%.ts | |
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} |