Skip to content

Commit

Permalink
prepare for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Nov 1, 2024
1 parent 10c6965 commit f90a710
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
fetch-depth: 0

- name: Pull from Lokalise
uses: lokalise/lokalise-pull-action@v1.0.0
uses: lokalise/lokalise-pull-action@v2.0.0
with:
api_token: ${{ secrets.LOKALISE_API_TOKEN }}
project_id: LOKALISE_PROJECT_ID
translations_path: TRANSLATIONS_PATH
translations_path: |
TRANSLATIONS_PATH1
file_format: FILE_FORMAT
additional_params: ADDITIONAL_CLI_PARAMS
```
Expand All @@ -44,7 +45,7 @@ The following parameters are **mandatory**:
- `api_token` — Lokalise API token.
- `project_id` — Your Lokalise project ID.
- `translations_path` Path to your translation files.
- `translations_path` One or more paths to your translation files.
- `file_format` — The format of your translation files.
- `base_lang` — Your project base language.

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
required: true
default: 'en'
translations_path:
description: 'Path to translation files'
description: 'Paths to translation files'
required: true
default: |
locales
Expand Down

0 comments on commit f90a710

Please sign in to comment.