forked from joomla/core-translations
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (37 loc) · 1.57 KB
/
local-upload-luxembourg_v5.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: J5 Upload Luxembourgish Translation files
on:
workflow_dispatch:
jobs:
# Upload language to Crowdin.
synchronize-with-crowdin:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4
# Runs the Crowdin action command - https://github.com/crowdin/github-action
- name: Crowdin Upload Luxembourg
uses: crowdin/[email protected]
with:
# Upload sources to Crowdin
upload_sources: false
# Upload translations to Crowdin
upload_translations: true
# Define the languages to upload for translations
upload_language: 'de-LU'
# Automatically approves uploaded translations
auto_approve_imported: true
# Defines whether to add translation if it is equal to source string in Crowdin project
import_eq_suggestions: true
# Option to specify a path to the configuration file, without / at the beginning
config: 'Configurations/Crowdin-J5-All.yml'
# Upload sources to Crowdin branch
crowdin_branch_name: JoomlaV5
# Use true for dryrun to test the run without actually processing anything
dryrun_action: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}