From 4e8e54cbe4bdae4e83675178ce3c4256e5acb0d8 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Fri, 23 Aug 2024 01:04:51 +0200 Subject: [PATCH] Update install trigger test workflow. --- .github/workflows/ci.yml | 11 +++++++++++ .github/workflows/post-release.yml | 24 ------------------------ 2 files changed, 11 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/post-release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 125f376..0b1c362 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,14 @@ jobs: with: files: metacall-tarball-win-x64.zip fail_on_unmatched_files: true + + - name: Trigger Install Test Workflow + uses: convictional/trigger-workflow-and-wait@v1.6.1 + if: startsWith(github.ref, 'refs/tags/v') + with: + owner: metacall + repo: install + github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }} + workflow_file_name: test-windows.yml + wait_workflow: true + ref: master diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml deleted file mode 100644 index 77c2d5d..0000000 --- a/.github/workflows/post-release.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Test Windows Install Script with new release - -on: - workflow_run: - workflows: ["MetaCall Distributable Windows Release"] - types: - - completed - branches: ['v*.*.*'] - -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 - -