diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c44e804a9..baed785e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,9 +14,9 @@ jobs: RoboHelp: name: "RoboHelp" - runs-on: windows-2019 + runs-on: windows-2022 env: - LANGUAGE_MAIN: ${{ vars.LANGUAGE_MAIN }} + LANGUAGE: ${{ vars.LANGUAGE }} steps: - uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/.github/workflows/trigger-all-sync-upstream.yml b/.github/workflows/trigger-all-sync-upstream.yml new file mode 100644 index 000000000..f0b9988c0 --- /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 build" + required: false + type: choice + options: + - ALL + COUNTRY: + description: "Select individual language to build" + 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 Workflows + 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 Workflows + if: ${{ matrix.language }} == '' + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: sync.yml + repo: YoYoGames/GameMaker-Manual-${{ matrix.language }} + token: ${{ secrets.GH_TOKEN }} + continue-on-error: false + + + \ No newline at end of file