Move upload translations action to own workflow (#3130)

10.9-maintenance 10.9.0-RC1
Míguel Ángel Mulero Martínez 2022-12-11 00:59:26 +01:00 committed by GitHub
parent dbab0e0da1
commit 7df8d627e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 16 deletions

View File

@ -27,15 +27,6 @@ jobs:
with:
debug_build: true
upload-translations:
if: ${{ github.ref_name == 'master' }}
name: Upload translations
needs: ci
uses: ./.github/workflows/translations-upload.yml
secrets:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
release:
name: Nightly release
needs: ci

View File

@ -1,13 +1,14 @@
name: Translations upload to Crowdin
concurrency: upload-crowdin
on:
workflow_dispatch:
workflow_call:
secrets:
CROWDIN_PROJECT_ID:
required: true
CROWDIN_PERSONAL_TOKEN:
required: true
push:
branches:
- master
paths:
- 'locales/en/**'
jobs:
betaflight-messages-to-crowdin:
@ -31,4 +32,3 @@ jobs:
upload_translations: false
download_translations: false