From 1e23969aaab15d520b49cd840cbcd40dfa4e03c8 Mon Sep 17 00:00:00 2001 From: nitin sanghi Date: Mon, 2 Dec 2024 14:01:02 +0530 Subject: [PATCH] Installing hab build using hart file Signed-off-by: nitin sanghi --- .github/workflows/habitat-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/habitat-build.yml b/.github/workflows/habitat-build.yml index 36e28eef..4f48761a 100644 --- a/.github/workflows/habitat-build.yml +++ b/.github/workflows/habitat-build.yml @@ -82,6 +82,9 @@ jobs: hab origin key download --auth $HAB_AUTH_TOKEN --secret $HAB_ORIGIN echo "--- running linux hab build" hab pkg build . + hartfile=$(ls /src/result *.hart | grep "chef-cli" | tail -n 1) + hab pkg install hartfile + hab pkg list --all chmod +x habitat/tests/test.sh habitat/tests/test.sh "${{vars.PKG_IDENT}}" - name: Install Habitat on Windows