Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Feb 18, 2024
1 parent 1f170cf commit 4b1d251
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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
Expand Down

0 comments on commit 4b1d251

Please sign in to comment.