Skip to content

Commit 6a6be67

Browse files
authored
fix: add limit to nix copy to avoid hitting s3 upload limits (#2039)
1 parent 71ff17f commit 6a6be67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/nix-install-ephemeral/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
set -f
3636
3737
export IFS=' '
38-
/nix/var/nix/profiles/default/bin/nix copy --to 's3://nix-postgres-artifacts?secret-key=/etc/nix/nix-secret-key' $OUT_PATHS
38+
/nix/var/nix/profiles/default/bin/nix copy --max-jobs 5 --to 's3://nix-postgres-artifacts?secret-key=/etc/nix/nix-secret-key' $OUT_PATHS
3939
EOF
4040
sudo chmod +x /etc/nix/upload-to-cache.sh
4141
env:

0 commit comments

Comments
 (0)