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