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"