Skip to content

Commit cca822b

Browse files
authored
Update README.md
1 parent f2a8080 commit cca822b

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Action installs, configures, and runs the SimpleLocalize CLI with the version, c
44
By default, SimpleLocalize CLI tries to find the configuration file in the current directory (`./simplelocalize.yml`).
55

66
Learn more: https://simplelocalize.io/docs/cli/get-started/
7+
Learn more: https://github.com/simplelocalize/simplelocalize-cli
78

89

910
## Inputs
@@ -20,12 +21,14 @@ Example: `${{ secrets.SIMPLELOCALIZE_API_KEY }}`
2021

2122
Example: `upload`, `auto-translate`, `download`, `publish`, `pull`
2223

24+
Here you can find a full list of commands: https://github.com/simplelocalize/simplelocalize-cli#usage
25+
2326
### `cli-version`
2427

2528
**Required** The version of the SimpleLocalize CLI to use.
2629
All available versions can be found here: https://github.com/simplelocalize/simplelocalize-cli/releases
2730

28-
Example: `2.2.0`
31+
Example: `2.5.0`
2932

3033
### `args`
3134

@@ -50,38 +53,38 @@ jobs:
5053
steps:
5154
- uses: actions/checkout@v3
5255
- name: Upload translations
53-
uses: simplelocalize/github-action-cli@v1
56+
uses: simplelocalize/github-action-cli@v2
5457
with:
5558
api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }}
5659
command: 'upload'
57-
cli-version: '2.2.0'
60+
cli-version: '2.5.0'
5861
args: '--uploadPath ./translations/{lang}.json --uploadFormat single-language-json --dryRun'
5962
- name: Auto-translate project
60-
uses: simplelocalize/github-action-cli@v1
63+
uses: simplelocalize/github-action-cli@v2
6164
with:
6265
api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }}
6366
command: 'auto-translate'
64-
cli-version: '2.2.0'
67+
cli-version: '2.5.0'
6568
- name: Download translations
66-
uses: simplelocalize/github-action-cli@v1
69+
uses: simplelocalize/github-action-cli@v2
6770
with:
6871
api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }}
6972
command: 'download'
70-
cli-version: '2.2.0'
73+
cli-version: '2.5.0'
7174
args: '--downloadPath ./translations/{lang}.json --downloadFormat single-language-json'
7275
- name: Publish translations
73-
uses: simplelocalize/github-action-cli@v1
76+
uses: simplelocalize/github-action-cli@v2
7477
with:
7578
api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }}
7679
command: 'publish'
77-
cli-version: '2.2.0'
80+
cli-version: '2.5.0'
7881
args: '--environment latest'
7982
- name: Pull translations
80-
uses: simplelocalize/github-action-cli@v1
83+
uses: simplelocalize/github-action-cli@v2
8184
with:
8285
api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }}
8386
command: 'pull'
84-
cli-version: '2.2.0'
87+
cli-version: '2.5.0'
8588
args: "--pullPath ./translation-hosting-resources/ --environment latest --filterRegex '_index.json'"
8689
```
8790

0 commit comments

Comments
 (0)