mirror of https://github.com/casbin/casnode.git
fix: cicd error (#494)
* fix: fix_ * fix: fix_cicd * fix: fix_cicd * fix: fix_cicd
This commit is contained in:
parent
e16d8dbc37
commit
4c8ebe51e1
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
- name: Fetch Previous version
|
||||
id: get-previous-tag
|
||||
uses: actions-ecosystem/action-get-latest-tag@v1
|
||||
uses: actions-ecosystem/action-get-latest-tag@v1.6.0
|
||||
|
||||
- name: Release
|
||||
run: yarn global add semantic-release@17.4.4 && semantic-release
|
||||
|
@ -55,7 +55,7 @@ jobs:
|
|||
|
||||
- name: Fetch Current version
|
||||
id: get-current-tag
|
||||
uses: actions-ecosystem/action-get-latest-tag@v1
|
||||
uses: actions-ecosystem/action-get-latest-tag@v1.6.0
|
||||
|
||||
- name: Decide Should_Push Or Not
|
||||
id: should_push
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: crowdin action
|
||||
uses: crowdin/github-action@1.2.0
|
||||
uses: crowdin/github-action@1.4.8
|
||||
with:
|
||||
upload_translations: true
|
||||
|
||||
|
@ -32,4 +32,4 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_PROJECT_ID: '479711'
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
|
|
@ -4,7 +4,7 @@ preserve_hierarchy: true
|
|||
files: [
|
||||
# JSON translation files
|
||||
{
|
||||
source: '/web/src/locales/en/data.json',
|
||||
translation: '/web/src/locales/%two_letters_code%/data.json',
|
||||
source: '/src/locales/en/data.json',
|
||||
translation: '/src/locales/%two_letters_code%/data.json',
|
||||
},
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue