From 9933ade376fbf24849e5273ea1d47042f8743df7 Mon Sep 17 00:00:00 2001 From: Gurpreet Singh Matharoo Date: Wed, 20 Nov 2024 16:39:32 +0530 Subject: [PATCH] Create trigger-all-sync-upstream.yml --- .../workflows/trigger-all-sync-upstream.yml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/trigger-all-sync-upstream.yml diff --git a/.github/workflows/trigger-all-sync-upstream.yml b/.github/workflows/trigger-all-sync-upstream.yml new file mode 100644 index 000000000..992197a46 --- /dev/null +++ b/.github/workflows/trigger-all-sync-upstream.yml @@ -0,0 +1,56 @@ +name: Trigger-Localisation-Upstream-Sync-Builds + +on: + workflow_dispatch: + inputs: + Language: + description: "Select All languages to sync" + required: false + type: choice + options: + - ALL + COUNTRY: + description: "Select individual language to sync" + required: false + type: choice + options: + - PT-BR + - DE + - ES + - FR + - IT + - JA + - KO + - PL + - RU + - ZH + + +jobs: + + Trigger-Localisation-Upstream-Sync: + name: + runs-on: ubuntu-22.04 + strategy: + matrix: + language: [PT-BR, DE, ES, FR, IT, JA, KO, PL, RU, ZH] + steps: + - name: Invoke Localisation Syncing + if: ${{ github.event.inputs.Language == 'ALL' }} + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: sync.yml + repo: YoYoGames/GameMaker-Manual-${{ matrix.language }} + token: ${{ secrets.GH_TOKEN }} + continue-on-error: false + - name: Invoke Localisation Syncing + if: ${{ github.event.inputs.COUNTRY != ''}} + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: sync.yml + repo: YoYoGames/GameMaker-Manual-${{ matrix.language }} + token: ${{ secrets.GH_TOKEN }} + continue-on-error: false + + +