-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding workflow to trigger all builds for main-lts
- Loading branch information
1 parent
9933ade
commit 3b5b648
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Trigger-Localisation-Builds | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
Language: | ||
description: "Select All languages to build" | ||
required: false | ||
type: choice | ||
options: | ||
- ALL | ||
- SINGLE | ||
BUILD_TYPE: | ||
description: "Select individual language to build" | ||
required: true | ||
type: choice | ||
options: | ||
- main | ||
- lts | ||
- build | ||
COUNTRY: | ||
description: "Select individual Country to build" | ||
required: false | ||
type: choice | ||
options: | ||
- PT-BR | ||
- DE | ||
- ES | ||
- FR | ||
- IT | ||
- JA | ||
- KO | ||
- PL | ||
- RU | ||
- ZH | ||
|
||
jobs: | ||
|
||
Trigger-Localisation-Builds-All_Repo: | ||
name: "Trigger-Localisation-Builds-All Repo" | ||
runs-on: ubuntu-22.04 | ||
if: ${{ github.event.inputs.Language == 'ALL' }} | ||
strategy: | ||
matrix: | ||
language: [PT-BR, DE, ES, FR, IT, JA, KO, PL, RU, ZH] | ||
steps: | ||
- name: Invoke Localisation Workflows for All repos | ||
uses: benc-uk/workflow-dispatch@v1 | ||
with: | ||
workflow: ${{ github.event.inputs.BUILD_TYPE }}.yml | ||
repo: YoYoGames/GameMaker-Manual-${{ matrix.language }} | ||
token: ${{ secrets.GH_TOKEN }} | ||
continue-on-error: false | ||
|
||
Trigger-Localisation-Builds-Single-Repo: | ||
name: "Trigger-Localisation-Builds-Single-Repo" | ||
runs-on: ubuntu-22.04 | ||
if: ${{ github.event.inputs.Language == 'SINGLE' }} | ||
steps: | ||
- name: Invoke Localisation Workflow for Single repo | ||
uses: benc-uk/workflow-dispatch@v1 | ||
with: | ||
workflow: ${{ github.event.inputs.BUILD_TYPE }}.yml | ||
repo: YoYoGames/GameMaker-Manual-${{ github.event.inputs.COUNTRY }} | ||
token: ${{ secrets.GH_TOKEN }} | ||
continue-on-error: false | ||
|
||
|
||
|