From 6ec7ebcb89ebd60736638a175e7f19531c12bb84 Mon Sep 17 00:00:00 2001 From: Vainock Date: Wed, 23 Mar 2022 21:40:57 +0100 Subject: [PATCH] CI: Update Crowdin Sync to 0.2.0 --- .github/workflows/crowdin-sync-download.yml | 8 +------- .github/workflows/crowdin-sync-upload.yml | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/crowdin-sync-download.yml b/.github/workflows/crowdin-sync-download.yml index 90f6b1855..1ef50678b 100644 --- a/.github/workflows/crowdin-sync-download.yml +++ b/.github/workflows/crowdin-sync-download.yml @@ -12,10 +12,4 @@ jobs: submodules: recursive fetch-depth: 0 token: ${{ secrets.CROWDIN_SYNC_GITHUB_PAT }} - - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Download Script - run: wget -P ./other/ https://raw.githubusercontent.com/obsproject/crowdin-synchronization/0.1.2/dist/download.mjs - - name: Import latest translations from Crowdin - run: node ./other/download.mjs + - uses: obsproject/obs-crowdin-sync/download@0.2.0 diff --git a/.github/workflows/crowdin-sync-upload.yml b/.github/workflows/crowdin-sync-upload.yml index c5d05cc69..adcc3fd41 100644 --- a/.github/workflows/crowdin-sync-upload.yml +++ b/.github/workflows/crowdin-sync-upload.yml @@ -17,10 +17,4 @@ jobs: with: submodules: recursive fetch-depth: 100 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Download Script - run: wget -P ./other/ https://raw.githubusercontent.com/obsproject/crowdin-synchronization/0.1.2/dist/upload.mjs - - name: Upload English strings to Crowdin - run: node ./other/upload.mjs + - uses: obsproject/obs-crowdin-sync/upload@0.2.0