Skip to content

Commit

Permalink
windows pipeline change
Browse files Browse the repository at this point in the history
Signed-off-by: nitin sanghi <nsanghi@progress.com>
  • Loading branch information
sanghinitin committed Dec 2, 2024
1 parent 43350d4 commit ca7fce0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/habitat-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
run: |
write-output "--- STARTING HAB INSTALL ON ${{ matrix.os }} WINDOWS with habitat version:${{vars.HABITAT_VERSION_SET}}"
$env:HAB_LICENSE = "accept-no-persist"
$env:HAB_NONINTERACTIVE = "true"
$env:HAB_FALLBACK_CHANNEL= "${{vars.HAB_FALLBACK_CHANNEL}}"
Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1) } -Version ${{vars.HABITAT_VERSION_SET}}"
- name: run habitat packaging windows
Expand All @@ -110,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 | grep "chef-cli" | tail -n 1)
hartfile=$(ls ./results | findstr "chef-cli")
hab pkg install ./results/$hartfile
. ./results/last_build.env
habitat/tests/test.ps1
. ./results/last_build.ps1
habitat/tests/test.ps1 $pkg_ident

0 comments on commit ca7fce0

Please sign in to comment.