From 4b1d251f19e9b150b953ddb759e25f52a2c58fa7 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Sun, 18 Feb 2024 19:06:16 +0100 Subject: [PATCH] chore: wip Signed-off-by: Stephan Wendel --- .github/actions/build/action.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index a8c72be7e..26d9dcb29 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -71,12 +71,8 @@ runs: echo "# shellcheck enable=require-variable-braces" >> "${TMP_CONFIG}" } - generate_base_img_name() { - local img - echo "::group:: Generate BASE_ZIP_IMG variable" - img="$(ls *.img.xz)" - echo "DEBUG: Image name: ${img}" - echo "BASE_ZIP_IMG=${img}" >> "${TMP_CONFIG}" + add_base_zip_img_var() { + echo "BASE_ZIP_IMG=\$(ls src/image/*.img.xz)" >> "${TMP_CONFIG}" } concat_helper() { @@ -103,7 +99,7 @@ runs: concat_helper "${DEFAULT_CONF}" concat_helper "${SBC_CONFIG}/${TYPE_CONFIG}" concat_helper "${SBC_CONFIG}/${BOARD_CONFIG}" - generate_base_img_name + add_base_zip_img_var generate_exports copy_config