From c1b74f267281b5c1bcf264877467b07f20835eb4 Mon Sep 17 00:00:00 2001 From: ksuchitra532 Date: Tue, 2 Jul 2024 10:28:48 +0100 Subject: [PATCH 1/3] fixing main build --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8953844c..8f95203b7 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: @@ -26,7 +26,7 @@ jobs: - name: Enable git long paths to bypass path limit on Windows run: git config --system core.longpaths true - name: Check out the GMS2_Documentation repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: Manual token: ${{ secrets.GH_TOKEN }} @@ -38,7 +38,7 @@ jobs: shell: cmd working-directory: Manual - name: Upload robohelp zip file - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: YoYoStudioRoboHelp path: output\RoboHelp\*.zip From 7dd0bc8823e1955f0f73c0a107dc927f9058427c Mon Sep 17 00:00:00 2001 From: ksuchitra532 Date: Tue, 2 Jul 2024 11:59:07 +0100 Subject: [PATCH 2/3] adding worflow to trigger upstream-sync to all repos from this repo --- .../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..78b7bc6a3 --- /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: true + 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 From 4a71dd85771f2af482c6479d5ec1abf4a5f5c8e7 Mon Sep 17 00:00:00 2001 From: ksuchitra532 Date: Tue, 2 Jul 2024 11:59:42 +0100 Subject: [PATCH 3/3] adding worflow to trigger upstream-sync to all repos from this repo --- .github/workflows/trigger-all-sync-upstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-all-sync-upstream.yml b/.github/workflows/trigger-all-sync-upstream.yml index 78b7bc6a3..f0b9988c0 100644 --- a/.github/workflows/trigger-all-sync-upstream.yml +++ b/.github/workflows/trigger-all-sync-upstream.yml @@ -11,7 +11,7 @@ on: - ALL COUNTRY: description: "Select individual language to build" - required: true + required: false type: choice options: - PT-BR