From 20c78af900d01fdb90919c4e124654912d74277f Mon Sep 17 00:00:00 2001 From: miampf Date: Tue, 28 Jan 2025 11:53:14 +0100 Subject: [PATCH] Carry over `PATH` explicitly using `env` --- .github/workflows/check-measurements-reproducibility.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check-measurements-reproducibility.yml b/.github/workflows/check-measurements-reproducibility.yml index e10f3f10c..7d6003b82 100644 --- a/.github/workflows/check-measurements-reproducibility.yml +++ b/.github/workflows/check-measurements-reproducibility.yml @@ -24,6 +24,5 @@ jobs: bazel build //image/measured-boot/cmd buildPath="$PWD/bazel-bin/image" cd $(mktemp -d) - which systemd-dissect - sudo -E "$buildPath/measured-boot/cmd/cmd_/cmd" "$buildPath/ssystem/qemu_qemu-vtpm_stable/constellation" ./measurements.json + sudo env "PATH=$PATH" "$buildPath/measured-boot/cmd/cmd_/cmd" "$buildPath/ssystem/qemu_qemu-vtpm_stable/constellation" ./measurements.json cat ./measurements.json | jq