-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
40 lines (40 loc) · 1.72 KB
/
action.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
name: 'OneSky File uploader'
description: 'Upload resource files to the OneSky service'
author: "Gonzalo D'Elia"
inputs:
projectId:
description: 'ProjectId to which upload the file'
required: true
publicKey:
description: 'PublicKey from your OneSky account.'
required: true
privateKey:
description: 'PrivateKey from your OneSky account.'
required: true
filepath:
description: 'Path to the folder where your resource file is stored.'
required: true
filename:
description: 'Full name (with extension) of your resource file.'
required: true
locale:
description: 'Locale code of your resource file. Should match the ones listed here https://github.com/onesky/api-documentation-platform/blob/master/resources/locale.md#list---list-all-locales'
required: true
fileformat:
description: 'Specify the input format.'
required: false
default: 'IOS_STRINGS'
isKeepingAllStrings:
description: 'For strings that cannot be found in newly uploaded file with same file name, keep those strings unchange if set to true. Deprecate those strings if set to false. Notice that different files will not interfere each other in the same project. For example, with setting is_keeping_all_strings to false, uploading en2.po will not deprecate strings of previously uploaded file, en.po.'
required: false
default: true'
isAllowTranslationSameAsOriginal:
description: 'This setting applies to translation upload, skip importing translations that are the same as source text if set to false. Keeping the translations that are the same as source text if set to true.'
required: false
default: 'false'
runs:
using: 'node12'
main: 'lib/index.js'
branding:
color: blue
icon: upload-cloud