Skip to content

Commit

Permalink
adding worflow to trigger upstream-sync to all repos from this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuchitra532 committed Jul 2, 2024
1 parent c1b74f2 commit 7dd0bc8
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/trigger-all-sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -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



0 comments on commit 7dd0bc8

Please # to comment.