17
17
### List languages
18
18
19
19
``` yaml
20
- -
uses :
andrii-bodnar/[email protected] .1
20
+ -
uses :
andrii-bodnar/[email protected] .2
21
21
name : Make Crowdin Request
22
22
with :
23
23
route : GET /languages
29
29
### Get specific language
30
30
31
31
` ` ` yaml
32
- -
uses :
andrii-bodnar/[email protected] .1
32
+ -
uses :
andrii-bodnar/[email protected] .2
33
33
name : Get language
34
34
with :
35
35
route : GET /languages/{languageId}
42
42
### Using query parameters
43
43
44
44
` ` ` yaml
45
- -
uses :
andrii-bodnar/[email protected] .1
45
+ -
uses :
andrii-bodnar/[email protected] .2
46
46
name : List languages with limit
47
47
with :
48
48
route : GET /languages
@@ -61,7 +61,7 @@ The value of the `query` option should be a valid JSON object.
61
61
# ## List project files
62
62
63
63
` ` ` yaml
64
- - uses: andrii-bodnar/[email protected] .1
64
+ - uses: andrii-bodnar/[email protected] .2
65
65
name: List Files with filter
66
66
with:
67
67
route: GET /projects/{projectId}/files
@@ -78,7 +78,7 @@ The value of the `query` option should be a valid JSON object.
78
78
# ## Get project progress
79
79
80
80
` ` ` yaml
81
- - uses: andrii-bodnar/[email protected] .1
81
+ - uses: andrii-bodnar/[email protected] .2
82
82
name: Get Project Progress
83
83
id: project_progress
84
84
with:
@@ -98,7 +98,7 @@ Please note if you want to use the action output like in this example, you need
98
98
# ## Add string to a project file
99
99
100
100
` ` ` yaml
101
- - uses: andrii-bodnar/[email protected] .1
101
+ - uses: andrii-bodnar/[email protected] .2
102
102
name: Add String
103
103
with:
104
104
route: POST /projects/{projectId}/strings
@@ -129,7 +129,7 @@ There are two ways of passing the storage body:
129
129
- passing the file content as a `body` value
130
130
131
131
` ` ` yaml
132
- - uses: andrii-bodnar/[email protected] .1
132
+ - uses: andrii-bodnar/[email protected] .2
133
133
name: Add Storage
134
134
with:
135
135
route: POST /storages
@@ -148,7 +148,7 @@ There are two ways of passing the storage body:
148
148
To add a file to a Crowdin project you need two requests : Add Storage, and Add File:
149
149
150
150
` ` ` yaml
151
- - uses: andrii-bodnar/[email protected] .1
151
+ - uses: andrii-bodnar/[email protected] .2
152
152
name: Add Storage
153
153
id: add_storage
154
154
with:
@@ -160,7 +160,7 @@ To add a file to a Crowdin project you need two requests: Add Storage, and Add F
160
160
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
161
161
CROWDIN_ORGANIZATION: ${{ secrets.CROWDIN_ORGANIZATION }} # Optional
162
162
163
- - uses: andrii-bodnar/[email protected] .1
163
+ - uses: andrii-bodnar/[email protected] .2
164
164
name: Add File
165
165
if: ${{ success() }}
166
166
with:
@@ -183,7 +183,7 @@ In this case, we've used the `add_storage` step output to provide the `storageId
183
183
The translations downloading process involves making the following requests : Build project Translation, Check Project Build Status until the status will be finished, and Download Project Translations.
184
184
185
185
` ` ` yaml
186
- - uses: andrii-bodnar/[email protected] .1
186
+ - uses: andrii-bodnar/[email protected] .2
187
187
name: Build Project Translation
188
188
id: build_project
189
189
with:
@@ -193,7 +193,7 @@ The translations downloading process involves making the following requests: Bui
193
193
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
194
194
CROWDIN_ORGANIZATION: ${{ secrets.CROWDIN_ORGANIZATION }} # Optional
195
195
196
- - uses: andrii-bodnar/[email protected] .1
196
+ - uses: andrii-bodnar/[email protected] .2
197
197
name: Check Project Build Status
198
198
id: check_build_status
199
199
with:
@@ -205,7 +205,7 @@ The translations downloading process involves making the following requests: Bui
205
205
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
206
206
CROWDIN_ORGANIZATION: ${{ secrets.CROWDIN_ORGANIZATION }} # Optional
207
207
208
- - uses: andrii-bodnar/[email protected] .1
208
+ - uses: andrii-bodnar/[email protected] .2
209
209
name: Download Project Translations
210
210
with:
211
211
route: GET /projects/{projectId}/translations/builds/{buildId}/download
0 commit comments