From 42fa755b1b39322a5cc5890ca433574460dd4903 Mon Sep 17 00:00:00 2001 From: Sachin Date: Tue, 3 Dec 2024 18:46:05 +0530 Subject: [PATCH] add version check in hab environment Signed-off-by: Sachin --- .github/workflows/habitat-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/habitat-build.yml b/.github/workflows/habitat-build.yml index 70aaa750..3d37d219 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 ./results | grep "berkshelf" | tail -n 1) + hartfile=$(ls ./results | grep "fauxhai" | tail -n 1) sudo hab license accept export CHEF_LICENSE="accept-no-persist" export HAB_LICENSE="accept-no-persist" @@ -110,7 +110,7 @@ jobs: hab origin key download --auth ${{ secrets.HAB_AUTH_TOKEN }} --secret ${{ env.HAB_ORIGIN }} write-output "--- running windows hab build" hab pkg build . - $hartfile=(ls ./results -Name | findstr "berkshelf") + $hartfile=(ls ./results -Name | findstr "fauxhai") hab pkg install ./results/$hartfile . ./results/last_build.ps1 habitat/tests/test.ps1 $pkg_ident \ No newline at end of file