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
|
||||
run: |
|
||||
if ! git ls-remote --heads origin i18n | grep i18n; then
|
||||
git checkout -b i18n
|
||||
else
|
||||
git fetch origin i18n
|
||||
git checkout i18n
|
||||
git merge origin/main
|
||||
fi
|
||||
git fetch origin i18n || true
|
||||
git checkout -B i18n origin/i18n || git checkout -b i18n
|
||||
|
||||
- name: Install dependencies
|
||||
uses: ./.github/workflows/actions/yarn-install
|
||||
|
||||
Reference in New Issue
Block a user