From 97d352b88e7ece7f7469dd83bf3860df0ad4653b Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Tue, 28 May 2024 13:54:20 +0200 Subject: [PATCH] ci: Test workflow dispatch action that will await result --- .github/workflows/test.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3da9c9c606..1bca4dd0c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,9 @@ name: Tester on: - workflow_dispatch: + push: + branches: + - dui3/ci/* jobs: test: @@ -18,5 +20,10 @@ jobs: with: dotnet-version: 7.x.x - - name: Trigger Build Installers - run: ./build.sh build-installers ${{ secrets.CONNECTORS_GH_TOKEN }} 9226788131 3.0.0-pr3418.162 + - name: Invoke workflow in another repo with inputs + uses: aurelien-baudet/workflow-dispatch@v2 + with: + workflow: Build Installers + repo: specklesystems/connector-installers + token: ${{ secrets.CONNECTORS_GH_TOKEN }} + inputs: '{ "run_id": "9226788131", "version": "3.0.0-pr3418.162" }'