From 89c9c6c8e1438741b151474e4822546324931b4a Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 21 Apr 2022 03:41:00 -0700 Subject: [PATCH] CI: correct YAML syntax / regression Helps hexops/mach#248 Signed-off-by: Stephen Gutekanst --- .github/workflows/m1_ci.yml | 2 +- glfw/.github/workflows/m1_ci.yml | 2 +- gpu-dawn/.github/workflows/m1_ci.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/m1_ci.yml b/.github/workflows/m1_ci.yml index 7560517d..f222fbac 100644 --- a/.github/workflows/m1_ci.yml +++ b/.github/workflows/m1_ci.yml @@ -9,7 +9,7 @@ on: - push jobs: aarch64-macos: - if: github.repository == 'hexops/mach' + if: ${{ github.repository == 'hexops/mach' }} runs-on: [self-hosted, macOS, ARM64] strategy: matrix: diff --git a/glfw/.github/workflows/m1_ci.yml b/glfw/.github/workflows/m1_ci.yml index 0ef942ad..768b19ad 100644 --- a/glfw/.github/workflows/m1_ci.yml +++ b/glfw/.github/workflows/m1_ci.yml @@ -9,7 +9,7 @@ on: - push jobs: aarch64-macos: - if: github.repository == 'hexops/mach-glfw' + if: ${{ github.repository == 'hexops/mach-glfw' }} runs-on: [self-hosted, macOS, ARM64] defaults: run: diff --git a/gpu-dawn/.github/workflows/m1_ci.yml b/gpu-dawn/.github/workflows/m1_ci.yml index a0086e6c..759b9dc7 100644 --- a/gpu-dawn/.github/workflows/m1_ci.yml +++ b/gpu-dawn/.github/workflows/m1_ci.yml @@ -6,8 +6,7 @@ on: - completed jobs: aarch64-macos: - if: ${{ github.event.workflow_run.conclusion == 'success' }} - if: github.repository == 'hexops/mach-gpu-dawn' + if: ${{ github.repository == 'hexops/mach-gpu-dawn' && github.event.workflow_run.conclusion == 'success' }} runs-on: [self-hosted, macOS, ARM64] defaults: run: