Skip to content

Commit

Permalink
wip 1720029999
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Heath <jason.heath@progress.com>
  • Loading branch information
Jason Heath committed Jul 3, 2024
1 parent bc6eed9 commit 2920484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/actions/hab-pkg-build-and-upload-linux/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ runs:
env:
BLDR_COMPONENT: ${{ inputs.bldr-component }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
hab pkg build $BLDR_COMPONENT
- name: hab pkg install
shell: bash
env:
HAB_AUTH_TOKEN: ${{ inputs.hab-auth-token }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
source results/last_build.env
sudo hab pkg install --auth $HAB_AUTH_TOKEN results/$pkg_artifact
Expand All @@ -33,6 +31,5 @@ runs:
env:
HAB_AUTH_TOKEN: ${{ inputs.hab-auth-token }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
source results/last_build.env
hab pkg upload --auth $HAB_AUTH_TOKEN results/$pkg_artifact
5 changes: 3 additions & 2 deletions .github/actions/hab-pkg-build-and-upload-windows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ runs:
env:
BLDR_COMPONENT: ${{ inputs.bldr-component }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
hab pkg build $env:BLDR_COMPONENT
- name: hab pkg install
shell: pwsh
env:
HAB_AUTH_TOKEN: ${{ inputs.hab-auth-token }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
. results\last_build.ps1
hab pkg install --auth $env:HAB_AUTH_TOKEN results\$pkg_artifact
Expand All @@ -31,7 +33,6 @@ runs:
env:
HAB_AUTH_TOKEN: ${{ inputs.hab-auth-token }}
run: |
$env:Path += ";C:\ProgramData\Habitat"
. results\last_build.ps1
write-output "--- hab pkg upload --auth elided-HAB_AUTH_TOKEN results/$pkg_artifact"
hab pkg upload --auth $env:HAB_AUTH_TOKEN results\$pkg_artifact
write-output "--- uploaded successfully"

0 comments on commit 2920484

Please sign in to comment.