From db49093da7ce0e94ca80b5ddc0d751f37cc91839 Mon Sep 17 00:00:00 2001 From: 3u13r Date: Mon, 4 Dec 2023 13:18:13 +0100 Subject: [PATCH] ci: export constellation with absolute path (#2675) --- .github/actions/build_cli/action.yml | 4 ++-- .github/actions/self_managed_create/action.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/build_cli/action.yml b/.github/actions/build_cli/action.yml index d2e308a36..fd1da938f 100644 --- a/.github/actions/build_cli/action.yml +++ b/.github/actions/build_cli/action.yml @@ -66,8 +66,8 @@ runs: out_loc="$(realpath "${repository_root}/${out_rel}")" cp "${out_loc}" "${OUTPUT_PATH}" chmod +w "${OUTPUT_PATH}" - echo "$(dirname "${OUTPUT_PATH}")" >> $GITHUB_PATH - export PATH="$PATH:$(dirname "${OUTPUT_PATH}")" + export PATH="$PATH:$(realpath $(dirname "${OUTPUT_PATH}"))" + echo "$(realpath $(dirname "${OUTPUT_PATH}"))" >> $GITHUB_PATH echo "::endgroup::" - name: Upload container images diff --git a/.github/actions/self_managed_create/action.yml b/.github/actions/self_managed_create/action.yml index 60b40886f..d06d982a2 100644 --- a/.github/actions/self_managed_create/action.yml +++ b/.github/actions/self_managed_create/action.yml @@ -84,7 +84,7 @@ runs: working-directory: ${{ github.workspace }}/e2e-infra if: inputs.cloudProvider == 'azure' run: | - ./constellation maa-patch $(terraform output attestationURL | jq -r) + constellation maa-patch $(terraform output attestationURL | jq -r) - name: Write outputs to state file shell: bash