From c2e6df02f46bdfd48b1a14655f512d7c8f965222 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Sat, 17 Feb 2024 22:33:16 +0900 Subject: [PATCH] Updated building images workflow --- .github/workflows/images_build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 66e682ad9..10593d39b 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -338,12 +338,13 @@ jobs: echo "${cache_to[*]}" echo "::endgroup::" - cache_from=$(printf '%s%%0A' "${cache_from[@]}") - #cache_from="${cache_from%, }" + cache_from=$(printf '%s\n' "${cache_from[@]}") cache_to=$(printf '%s\n' "${cache_to[@]}") cache_to="${cache_to//$'\n'/'%0A'}" - echo "cache_from=$cache_from" >> $GITHUB_OUTPUT + echo 'cache_from<> "$GITHUB_OUTPUT" + echo "$cache_from" >> "$GITHUB_OUTPUT" + echo 'EOF' >> "$GITHUB_OUTPUT" echo "cache_to=$cache_to" >> $GITHUB_OUTPUT - name: Prepare cache data