diff --git a/.github/workflows/habitat-build.yml b/.github/workflows/habitat-build.yml index eadbc122..3dfc1441 100644 --- a/.github/workflows/habitat-build.yml +++ b/.github/workflows/habitat-build.yml @@ -111,7 +111,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 | findstr "chef-cli") + $hartfile=(ls ./results -Name | findstr "chef-cli") hab pkg install ./results/$hartfile . ./results/last_build.ps1 habitat/tests/test.ps1 $pkg_ident \ No newline at end of file