From b18b433b9d3077d94820f0b79a7804fc5fe23a24 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Tue, 20 Feb 2024 16:45:20 +0100 Subject: [PATCH] chore: wip Signed-off-by: Stephan Wendel --- .github/actions/build/action.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 4d2998fb2..83a86fed1 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -43,6 +43,7 @@ runs: id: config shell: bash run: | + echo "::group::Generate config" IFS='/' read -r -a array <<< "${{ inputs.config }}" TYPE="${array[0]}" SBC="${array[1]}" @@ -105,6 +106,13 @@ runs: generate_exports copy_config + source "${CONFIG_PATH}" + echo "DOWNLOAD_URL_CHECKSUM=${DOWNLOAD_URL_CHECKSUM}" >> $GITHUB_OUTPUT + echo "DOWNLOAD_URL_IMAGE=${DOWNLOAD_URL_IMAGE}" >> $GITHUB_OUTPUT + if [[ "${TYPE}" != "raspberry" ]]; then + base_zip_img_helper + fi + # Write config to debug echo "::group::Print config file" cat "${CONFIG_PATH}" @@ -112,12 +120,7 @@ runs: } main - source "${CONFIG_PATH}" - echo "DOWNLOAD_URL_CHECKSUM=${DOWNLOAD_URL_CHECKSUM}" >> $GITHUB_OUTPUT - echo "DOWNLOAD_URL_IMAGE=${DOWNLOAD_URL_IMAGE}" >> $GITHUB_OUTPUT - if [[ "${TYPE}" != "raspberry" ]]; then - base_zip_img_helper - fi + echo "::endgroup::" - name: Base Image Checksum id: checksum