From 37224cc5876e9130b367adeab8330043aab5d6f2 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..1a87d648cf 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