mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Fixed the reason why Crowdin added second file Now it won't happen, but second files in all translations need to be removed manually
27 lines
640 B
YAML
27 lines
640 B
YAML
name: Crowdin Action
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths: ['Resources/Lang/en_US.json']
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: upload sources to crowdin
|
|
uses: crowdin/github-action@v2
|
|
with:
|
|
crowdin_branch_name: main
|
|
localization_branch_name: main
|
|
upload_sources: true
|
|
download_sources: false
|
|
env:
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|