diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index 98f5c07d..68c6f202 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -3,13 +3,13 @@ name: macOS on: workflow_run: workflows: [Linux] - types: - - completed + types: [completed] jobs: build: runs-on: macos-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pythonBinding.yml b/.github/workflows/pythonBinding.yml index e5802159..ff9aa3c5 100644 --- a/.github/workflows/pythonBinding.yml +++ b/.github/workflows/pythonBinding.yml @@ -2,13 +2,14 @@ name: PythonBinding on: workflow_run: - workflows: [ Windows ] - types: [ completed ] + workflows: [Windows] + types: [completed] jobs: build: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} container: ubuntu:latest steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 41ad474e..64b55491 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -3,13 +3,13 @@ name: Windows on: workflow_run: workflows: [macOS] - types: - - completed + types: [completed] jobs: build: runs-on: windows-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4