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