mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
update localization workflow
This commit is contained in:
parent
2297421cc1
commit
d235edec7e
12
.github/workflows/localization.yml
vendored
12
.github/workflows/localization.yml
vendored
@ -4,7 +4,15 @@
|
|||||||
name: Crowdin Action
|
name: Crowdin Action
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
#on:
|
on:
|
||||||
|
# Only run when started manually
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
uploadTranslations:
|
||||||
|
description: "Set to true to upload (changed) translations to Crowdin"
|
||||||
|
type: boolean
|
||||||
|
required: true
|
||||||
|
default: false
|
||||||
#schedule:
|
#schedule:
|
||||||
#- cron: '0 */6 * * *' # Every 6 hours - https://crontab.guru/#0_*/6_*_*_*
|
#- cron: '0 */6 * * *' # Every 6 hours - https://crontab.guru/#0_*/6_*_*_*
|
||||||
|
|
||||||
@ -22,7 +30,7 @@ jobs:
|
|||||||
# Upload sources to Crowdin
|
# Upload sources to Crowdin
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
# Upload translations to Crowdin, only use true at initial run
|
# Upload translations to Crowdin, only use true at initial run
|
||||||
upload_translations: true
|
upload_translations: ${{ github.event.inputs.uploadTranslations }}
|
||||||
# Make pull request of Crowdin translations
|
# Make pull request of Crowdin translations
|
||||||
download_translations: true
|
download_translations: true
|
||||||
# To download translations to the specified version branch
|
# To download translations to the specified version branch
|
||||||
|
Loading…
Reference in New Issue
Block a user