From 8164c5a260b571f73e9ef2e17b0f75f5be2877cd Mon Sep 17 00:00:00 2001 From: nitin sanghi Date: Mon, 2 Dec 2024 14:35:02 +0530 Subject: [PATCH] sudo for installing hab pkg Signed-off-by: nitin sanghi --- .github/workflows/habitat-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/habitat-build.yml b/.github/workflows/habitat-build.yml index e2349f59..0194a41c 100644 --- a/.github/workflows/habitat-build.yml +++ b/.github/workflows/habitat-build.yml @@ -83,7 +83,7 @@ jobs: echo "--- running linux hab build" hab pkg build . hartfile=$(ls ./results | grep "chef-cli" | tail -n 1) - hab pkg install ./results/$hartfile + sudo hab pkg install ./results/$hartfile hab pkg list --all chmod +x habitat/tests/test.sh habitat/tests/test.sh "${{vars.PKG_IDENT}}"