From cc78eea201c270c513007cd44eabe79e4c68ede2 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 24 Dec 2024 00:49:09 -0600 Subject: [PATCH] Only build Hyper V on releases --- nix/continue.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/continue.nix b/nix/continue.nix index f21627e..e4f3223 100644 --- a/nix/continue.nix +++ b/nix/continue.nix @@ -70,6 +70,7 @@ let variables = general.variables // { COMMAND = "packer build -only=\"hyperv-iso.amd64\" -var-file=\"\${distro}\" -var build=\${BUILD} -var cpus=2 -var memory=4096 \${EXCEPT} sources"; }; + rules = [ { "if" = "$CI_COMMIT_TAG"; } ]; script = [ "packer init sources" "echo $env:COMMAND > build.ps1"