From 8142207263f079280c949a187f5a86f5cb9fc558 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Sun, 23 Aug 2020 15:48:07 -0500 Subject: [PATCH] Specify path for I18N linter, push after sync --- .github/workflows/sync_translations.yml | 4 +++- tools/find-broken-strings-variables.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_translations.yml b/.github/workflows/sync_translations.yml index 04c154fc07..68402546de 100644 --- a/.github/workflows/sync_translations.yml +++ b/.github/workflows/sync_translations.yml @@ -37,4 +37,6 @@ jobs: run: ./tools/manage-crowdin.sh - name: Pull translation updates from crowdin - run: ./tools/update-localizations.py + run: | + ./tools/update-localizations.py + git push diff --git a/tools/find-broken-strings-variables.sh b/tools/find-broken-strings-variables.sh index ff15dd4c74..3e0e4c5231 100755 --- a/tools/find-broken-strings-variables.sh +++ b/tools/find-broken-strings-variables.sh @@ -52,7 +52,7 @@ if grep -RHn "CDATA " res/values*; then EXIT_STATUS=$((EXIT_STATUS + 1)); fi -lint --check StringFormatInvalid ./res +${ANDROID_HOME}/tools/bin/lint --check StringFormatInvalid ./res popd > /dev/null || exit 1 echo "Exiting with status $EXIT_STATUS" exit $EXIT_STATUS