From 981758db5342bfbe4954cd856db341e962c8ce11 Mon Sep 17 00:00:00 2001 From: Royston E Tauro Date: Tue, 22 Nov 2022 01:39:08 +0530 Subject: [PATCH] Workflow to test install scripts (#22) * Post Release Workflow to test install scripts Triggers the test-windows.yml file in metacall/install The failure of this workflow doesnt interfere with the release * Rename post_release.yml to post-release.yml Co-authored-by: Vicente Eduardo Ferrer Garcia <7854099+viferga@users.noreply.github.com> --- .github/workflows/post-release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/post-release.yml diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 0000000..8b26370 --- /dev/null +++ b/.github/workflows/post-release.yml @@ -0,0 +1,23 @@ +name: Test Windows Install Script with new release + +on: + workflow_run: + workflows: ["MetaCall Distributable Windows Release"] + types: + - completed + +jobs: + test: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - uses: convictional/trigger-workflow-and-wait@v1.6.1 + with: + owner: metacall + repo: install + github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} + workflow_file_name: test-windows.yml + wait_workflow: true + ref: master + +