Skip to content

Commit 0accb5e

Browse files
committed
Update the Crowdin Workflows
1 parent 90ef714 commit 0accb5e

File tree

4 files changed

+33
-89
lines changed

4 files changed

+33
-89
lines changed

.github/workflows/crowdin-download.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/crowdin-upload.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Crowdin Download Action
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
base_branch:
7+
description: 'Base branch for the pull request'
8+
required: false
9+
default: 'main'
10+
11+
jobs:
12+
call-crowdin-workflow:
13+
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-download
14+
with:
15+
base_branch: ${{ inputs.base_branch }}
16+
secrets:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
19+
vars:
20+
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Crowdin Upload Action
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
call-crowdin-upload-workflow:
8+
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-upload
9+
secrets:
10+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
12+
vars:
13+
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}

0 commit comments

Comments
 (0)