Skip to content

Commit

Permalink
Make deployment jobs sequential to avoid hitting concurrency limit fo…
Browse files Browse the repository at this point in the history
…r free GH plan
  • Loading branch information
alex-spataru committed May 5, 2024
1 parent d1e5447 commit 26e30d6
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -424,6 +440,7 @@ jobs:
- build-mac-arm
- build-mac-intel
- build-windows

runs-on: ubuntu-latest
steps:
- name: '📥 Download artifacts'
Expand Down

0 comments on commit 26e30d6

Please sign in to comment.