From f0c4fd4843496f575837957ae7fbf3f5d08b338e Mon Sep 17 00:00:00 2001 From: nitin sanghi Date: Mon, 2 Dec 2024 14:08:56 +0530 Subject: [PATCH] Installing hab build using hart file 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 aaa36808..fa2db1a5 100644 --- a/.github/workflows/habitat-build.yml +++ b/.github/workflows/habitat-build.yml @@ -82,7 +82,7 @@ jobs: hab origin key download --auth $HAB_AUTH_TOKEN --secret $HAB_ORIGIN echo "--- running linux hab build" hab pkg build . - hartfile=$(ls /src/results *.hart | grep "chef-cli" | tail -n 1) + hartfile=$(ls /hab/cache/artifacts/ *.hart | grep "chef-cli" | tail -n 1) hab pkg install $hartfile hab pkg list --all chmod +x habitat/tests/test.sh