From 26e30d6a022cb6881a3098ec2cf0692dd82cd907 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sun, 5 May 2024 11:44:29 -0500 Subject: [PATCH] Make deployment jobs sequential to avoid hitting concurrency limit for free GH plan --- .github/workflows/deploy.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb1493c05..e089613c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -99,8 +99,12 @@ jobs: build-mac-arm: runs-on: macos-latest name: '🍎 macOS (ARM64)' + + # Avoid hitting concurreny limit + needs: + - build-linux + steps: - - name: '🧰 Checkout' uses: actions/checkout@v4 with: @@ -169,9 +173,15 @@ jobs: # # macOS build (Intel) # - build-mac-intel: + build-mac-intel: runs-on: macos-14-large name: '🍎 macOS (Intel)' + + # Avoid hitting concurreny limit + needs: + - build-linux + - build-mac-arm + steps: - name: '🧰 Checkout' @@ -244,8 +254,14 @@ jobs: build-windows: runs-on: windows-latest name: '🧊 Windows' + + # Avoid hitting concurreny limit + needs: + - build-linux + - build-mac-arm + - build-mac-intel + steps: - - name: '🧰 Checkout' uses: actions/checkout@v4 with: @@ -424,6 +440,7 @@ jobs: - build-mac-arm - build-mac-intel - build-windows + runs-on: ubuntu-latest steps: - name: '📥 Download artifacts'