Enhance CI workflow by adding --quiet flag to Nix build commands for reduced output during scheme builds and cache pushes.
This commit is contained in:
parent
edf8f1c411
commit
ab22bef7b4
6
.github/workflows/build-schemes.yml
vendored
6
.github/workflows/build-schemes.yml
vendored
@ -58,7 +58,8 @@ jobs:
|
|||||||
# Build the configuration
|
# Build the configuration
|
||||||
echo "Building $scheme..."
|
echo "Building $scheme..."
|
||||||
nix build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel \
|
nix build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel \
|
||||||
--out-link ./result-$scheme
|
--out-link ./result-$scheme \
|
||||||
|
--quiet
|
||||||
|
|
||||||
# Push to cache
|
# Push to cache
|
||||||
echo "Pushing $scheme to cache..."
|
echo "Pushing $scheme to cache..."
|
||||||
@ -66,7 +67,8 @@ jobs:
|
|||||||
|
|
||||||
# Also push using print-out-paths for better cache coverage
|
# Also push using print-out-paths for better cache coverage
|
||||||
nix build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel \
|
nix build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel \
|
||||||
--print-out-paths | attic push servidos:nixos --stdin
|
--print-out-paths \
|
||||||
|
--quiet | attic push servidos:nixos --stdin
|
||||||
|
|
||||||
echo "✓ Completed $scheme"
|
echo "✓ Completed $scheme"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user