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 - -