diff --git a/.github/workflows/trigger-all-sync-upstream.yml b/.github/workflows/trigger-all-sync-upstream.yml index c8d4a1524..e196ab590 100644 --- a/.github/workflows/trigger-all-sync-upstream.yml +++ b/.github/workflows/trigger-all-sync-upstream.yml @@ -4,13 +4,13 @@ on: workflow_dispatch: inputs: Language: - description: "Select All languages to build" + description: "Select All languages to sync" required: false type: choice options: - ALL COUNTRY: - description: "Select individual language to build" + description: "Select individual language to sync" required: false type: choice options: @@ -33,18 +33,18 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - language: [PT-BR, DE, ES, FR, IT, JA, KO, PL, RU, ZH] + language: [PT-BR, DE, ES, FR, IT, JA, KO, PL, RU, ZH] steps: - - name: Invoke Localisation Workflows - if: ${{ github.event.inputs.Language }} == 'ALL' + - 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 Workflows - if: ${{ github.event.inputs.COUNTRY }} == '' + - name: Invoke Localisation Syncing + if: ${{ github.event.inputs.COUNTRY != ''}} uses: benc-uk/workflow-dispatch@v1 with: workflow: sync.yml