Improve i18n ci (#10209)
This commit is contained in:
9
.github/workflows/i18n-push.yaml
vendored
9
.github/workflows/i18n-push.yaml
vendored
@ -25,13 +25,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup i18n branch
|
- name: Setup i18n branch
|
||||||
run: |
|
run: |
|
||||||
if ! git ls-remote --heads origin i18n | grep i18n; then
|
git fetch origin i18n || true
|
||||||
git checkout -b i18n
|
git checkout -B i18n origin/i18n || git checkout -b i18n
|
||||||
else
|
|
||||||
git fetch origin i18n
|
|
||||||
git checkout i18n
|
|
||||||
git merge origin/main
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: ./.github/workflows/actions/yarn-install
|
uses: ./.github/workflows/actions/yarn-install
|
||||||
|
|||||||
Reference in New Issue
Block a user