From 117a9abaf6bd59d8594d3ef3a6f26b227defc08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Wed, 1 Nov 2023 17:19:47 +0100 Subject: [PATCH] crowdin action is shit --- .github/workflows/build-ota-updates.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-ota-updates.yml b/.github/workflows/build-ota-updates.yml index 8cfc4ad213..e3d816712d 100644 --- a/.github/workflows/build-ota-updates.yml +++ b/.github/workflows/build-ota-updates.yml @@ -15,15 +15,13 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Fixup Crowdin config - run: 'echo "api_token_env: CROWDIN_PERSONAL_TOKEN" >>crowdin.yaml' + - name: Install Crowdin tools + run: | + npm i -g @crowdin/cli + echo 'api_token: "${{secrets.CROWDIN_PERSONAL_TOKEN}}"' >>crowdin.yaml - name: Download latest translations from Crowdin - uses: crowdin/github-action@v1 - with: - config: crowdin.yaml - token: ${{secrets.CROWDIN_PERSONAL_TOKEN}} - command: download + run: crowdin download - name: Install GNU gettext run: sudo apt-get install gettext