Skip to content

Commit a8178a0

Browse files
committed
Do not run parallel builds on MacOS
Current runner doesn't have enough disk space
1 parent 2b49e68 commit a8178a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nix-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: |
5858
cat << 'EOF' | sudo tee /etc/nix/upload-to-cache.sh > /dev/null
5959
#!/usr/bin/env bash
60-
set -eouf
60+
set -euf
6161
export IFS=' '
6262
/nix/var/nix/profiles/default/bin/nix copy --to 's3://nix-postgres-artifacts?secret-key=/etc/nix/nix-secret-key' $OUT_PATHS
6363
EOF
@@ -80,7 +80,7 @@ jobs:
8080
- name: Build psql bundle
8181
run: >
8282
nix run "github:Mic92/nix-fast-build?rev=b1dae483ab7d4139a6297e02b6de9e5d30e43d48"
83-
-- --skip-cached --no-nom
83+
-- --skip-cached --no-nom ${{ matrix.runner == 'macos-latest-xlarge' && '--max-jobs 1' || '' }}
8484
--flake ".#checks.$(nix eval --raw --impure --expr 'builtins.currentSystem')"
8585
env:
8686
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}

0 commit comments

Comments
 (0)