diff --git a/.github/workflows/check_locale.yml b/.github/workflows/check_locale.yml index c25a92fa..b3244c2c 100644 --- a/.github/workflows/check_locale.yml +++ b/.github/workflows/check_locale.yml @@ -36,7 +36,7 @@ jobs: run: | mkdir ./i18n-extract for file in ${{ steps.changed-files.outputs.all_changed_files }}; do - npx vue-i18n-extract --vueFiles './src/**/{*.?(js|ts|vue),.i18nignore}' --languageFiles './src/locales/${file##*/}' --output './i18n-extract/${file##*/}' + npx vue-i18n-extract --vueFiles './src/**/{*.?(js|ts|vue),.i18nignore}' --languageFiles ./src/locales/${file##*/} --output ./i18n-extract/${file##*/} MISSING=$(cat i18n-extract/${file##*/} | jq '.missingKeys | length') UNUSED=$(cat i18n-extract/${file##*/} | jq '.unusedKeys | length') echo "$file=|${file##*/}|${MISSING}|${UNUSED}|" >> $GITHUB_OUTPUT