From 5fa7438483510ecc6f4093bfe448ac5fab488a94 Mon Sep 17 00:00:00 2001 From: Andrey Fedorov Date: Wed, 6 Nov 2024 11:13:59 +0100 Subject: [PATCH] IOS-8302: Test 5 Signed-off-by: Andrey Fedorov --- .github/workflows/update-localizations.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-localizations.yml b/.github/workflows/update-localizations.yml index 6ff20387..142f2684 100644 --- a/.github/workflows/update-localizations.yml +++ b/.github/workflows/update-localizations.yml @@ -19,7 +19,7 @@ jobs: update-localizations: runs-on: macos-14 env: - APP_LOCALIZATIONS_DESTINATION: "TangemSdk/TangemSdk/Common/Localization/Resources" + SDK_LOCALIZATIONS_DESTINATION: "TangemSdk/TangemSdk/Common/Localization/Resources" steps: - name: Checkout repository uses: actions/checkout@v4 @@ -44,7 +44,7 @@ jobs: run: | bundle exec fastlane update_translations \ languages:${{ github.event.inputs.langs }} \ - destination:${{ env.APP_LOCALIZATIONS_DESTINATION }} + destination:${{ env.SDK_LOCALIZATIONS_DESTINATION }} - name: Push changes and open a pull-request env: @@ -58,8 +58,7 @@ jobs: git config --global user.email "gitservice@tangem.com" git checkout -b $SOURCE_BRANCH $TARGET_BRANCH - git add "${APP_LOCALIZATIONS_DESTINATION}" - git add "${BSDK_LOCALIZATIONS_DESTINATION}" + git add "${SDK_LOCALIZATIONS_DESTINATION}" : "${LANGUAGES:="all"}" commit_message="Sync translations for \`${LANGUAGES}\` languages"