From 1831e05850469b7cc1530da52c425376f6fc039b Mon Sep 17 00:00:00 2001 From: Jason Heath Date: Tue, 2 Jul 2024 09:22:51 -0400 Subject: [PATCH] wip 1719926571 Signed-off-by: Jason Heath --- .github/actions/hab-pkg-build-and-upload-linux/action.yaml | 5 +++++ .../actions/hab-pkg-build-and-upload-windows/action.yaml | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/actions/hab-pkg-build-and-upload-linux/action.yaml b/.github/actions/hab-pkg-build-and-upload-linux/action.yaml index f2721f475..650511612 100644 --- a/.github/actions/hab-pkg-build-and-upload-linux/action.yaml +++ b/.github/actions/hab-pkg-build-and-upload-linux/action.yaml @@ -35,6 +35,11 @@ runs: echo "--- built succesfully" source results/last_build.env + + echo "--- hab pkg install --auth elided-HAB_AUTH_TOKEN results/$pkg_artifact + hab pkg install --auth $HAB_AUTH_TOKEN results/$pkg_artifact + echo "--- installed succesfully" + echo "--- hab pkg upload --auth elided-HAB_AUTH_TOKEN results/$pkg_artifact" hab pkg upload --auth $HAB_AUTH_TOKEN results/$pkg_artifact echo "--- uploaded succesfully" diff --git a/.github/actions/hab-pkg-build-and-upload-windows/action.yaml b/.github/actions/hab-pkg-build-and-upload-windows/action.yaml index 9e7d45a1d..766decfb8 100644 --- a/.github/actions/hab-pkg-build-and-upload-windows/action.yaml +++ b/.github/actions/hab-pkg-build-and-upload-windows/action.yaml @@ -38,9 +38,14 @@ runs: write-output "--- hab pkg build $BLDR_COMPONENT" hab pkg build $env:BLDR_COMPONENT - write-output "--- build successfully" + write-output "--- built successfully" . results\last_build.ps1 + + write-output "--- hab pkg install --auth elided-HAB_AUTH_TOKEN results\$pkg_artifact + hab pkg install --auth $env:HAB_AUTH_TOKEN results\$pkg_artifact + write-output "--- installed successfully" + 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"