From 090535aa283e902a737d1b516c3be8c078f738c5 Mon Sep 17 00:00:00 2001 From: Stephen Williams <107999+onato@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:32:13 +1200 Subject: [PATCH] ci: Diable concurrent CI builds --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce80fe9..ba0507e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,13 +1,13 @@ -name: CI for Xcode Project +name: Build and Test on: - # This workflow runs on every push and pull request to the main branch push: branches: - main - pull_request: - branches: - - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: build: @@ -30,6 +30,5 @@ jobs: -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' \ clean test | xcbeautify --quiet --is-ci --renderer github-actions - # This will fail the job if any test fails continue-on-error: false