Updated building images workflow

This commit is contained in:
Alexey Pustovalov 2024-02-17 22:33:16 +09:00
parent 6d1b07ef54
commit c2e6df02f4

View File

@ -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<<EOF' >> "$GITHUB_OUTPUT"
echo "$cache_from" >> "$GITHUB_OUTPUT"
echo 'EOF' >> "$GITHUB_OUTPUT"
echo "cache_to=$cache_to" >> $GITHUB_OUTPUT
- name: Prepare cache data