Skip to content

Commit bae4152

Browse files
committed
2022.08.22:
* fixed: bash/github/print-*.sh: line returns fixup * fixed: bash/github/init-curl-workflow.sh: return code correct handling * new: bash/cache/accum-content.sh: added `NO_DOWNLOAD_ENTRIES` and `NO_DOWNLOAD_ENTRIES_AND_CREATE_EMPTY_INSTEAD` variables to be able to debug locally without download * changed: bash: board/accum-stats.sh, cache/accum-content.sh, inpage/accum-downloads.sh: print-*.sh: always print stderr unconditionally to a return code * changed: bash/github/print-*.sh: `GHWF_PRINT_ERROR_BUF_STR` variable assign by `gh_set_env_var` to be able to debug using `GITHUB_ENV` file locally * changed: bash/github: code cleanup
1 parent 11dfd2a commit bae4152

File tree

10 files changed

+102
-84
lines changed

10 files changed

+102
-84
lines changed

bash/board/accum-stats.sh

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,25 @@ tkl_push_trap 'curl_print_response_if_error "$TEMP_DIR/response.txt"' EXIT
7171
# The `sed` has to be used to ignore blank lines by replacing `CR` by `LF`.
7272
# This is required for uniform parse the curl output in both verbose or non verbose mode.
7373
#
74-
if eval curl $curl_flags -o "\$TEMP_DIR/response.txt" "\$topic_query_url" 2>&1 | tee "$TEMP_DIR/response-stderr.txt" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'; then
75-
echo '---'
76-
else
77-
echo '---'
74+
eval curl $curl_flags -o '"$TEMP_DIR/response.txt"' '"$topic_query_url"' 2>&1 | tee "$TEMP_DIR/response-stderr.txt" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'
75+
last_error=$?
76+
77+
echo '---'
7878

79-
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
80-
echo "$(<"$TEMP_DIR/response-stderr.txt")"
81-
echo '---'
82-
fi
79+
# always print stderr unconditionally to a return code
80+
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
81+
echo "$(<"$TEMP_DIR/response-stderr.txt")"
82+
echo '---'
83+
fi
8384

85+
if (( last_error )); then
8486
gh_enable_print_buffering
8587

8688
(( ! CONTINUE_ON_INVALID_INPUT )) && exit 255
8789
fi
8890

8991
# check on empty
9092
if [[ ! -s "$TEMP_DIR/response.txt" ]]; then
91-
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
92-
echo "$(<"$TEMP_DIR/response-stderr.txt")"
93-
echo '---'
94-
fi
95-
9693
gh_enable_print_buffering
9794

9895
(( ! CONTINUE_ON_INVALID_INPUT )) && exit 255

bash/cache/accum-content.sh

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66

77
# NOTE:
88
#
9+
# Script specific system variables (to set):
10+
#
11+
# * NO_SKIP_UNEXPIRED_ENTRIES
12+
# * NO_DOWNLOAD_ENTRIES
13+
# * NO_DOWNLOAD_ENTRIES_AND_CREATE_EMPTY_INSTEAD
14+
#
915
# Yaml specific user variables (to set):
1016
#
1117
# * DISABLE_YAML_EDIT_FORMAT_RESTORE_BY_DIFF_MERGE_WORKAROUND
1218
#
19+
# The rest of variables is related to other scripts.
20+
#
1321

1422
[[ -z "$GH_WORKFLOW_ROOT" ]] && {
1523
echo "$0: error: \`GH_WORKFLOW_ROOT\` variable must be defined." >&2
@@ -393,41 +401,47 @@ for i in $("${YQ_CMDLINE_READ[@]}" '."content-config".entries[0].dirs|keys|.[]'
393401
echo " file: \`$index_dir/$index_file\`"
394402
echo " URL: $config_query_url"
395403
396-
# CAUTION:
397-
# The `sed` has to be used to ignore blank lines by replacing `CR` by `LF`.
398-
# This is required for uniform parse the curl output in both verbose or non verbose mode.
399-
#
400-
if eval curl $curl_flags -o '"$TEMP_DIR/content/$index_dir/$index_file"' '"$config_query_url"' 2>&1 | tee "$TEMP_DIR/curl_stderr/$index_dir/$index_file" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'; then
401-
(( stats_downloaded_inc++ ))
404+
if (( ! NO_DOWNLOAD_ENTRIES && ! NO_DOWNLOAD_ENTRIES_AND_CREATE_EMPTY_INSTEAD )); then
405+
# CAUTION:
406+
# The `sed` has to be used to ignore blank lines by replacing `CR` by `LF`.
407+
# This is required for uniform parse the curl output in both verbose or non verbose mode.
408+
#
409+
eval curl $curl_flags -o '"$TEMP_DIR/content/$index_dir/$index_file"' '"$config_query_url"' 2>&1 | tee "$TEMP_DIR/curl_stderr/$index_dir/$index_file" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'
410+
last_error=$?
402411
403412
echo '---'
404-
else
405-
echo '---'
406413
414+
# always print stderr unconditionally to a return code
407415
if [[ -s "$TEMP_DIR/curl_stderr/$index_dir/$index_file" ]]; then
408416
echo "$(<"$TEMP_DIR/curl_stderr/$index_dir/$index_file")"
409417
echo '---'
410418
fi
411419
412-
(( stats_failed_inc++ ))
420+
if (( ! last_error )); then
421+
(( stats_downloaded_inc++ ))
422+
else
423+
(( stats_failed_inc++ ))
413424
414-
gh_enable_print_buffering
425+
gh_enable_print_buffering
415426
416-
gh_print_error_and_write_to_changelog_text_ln \
417-
"$0: error: failed to download: \`$index_dir/$index_file\`" \
418-
"* error: $index_dir/$index_file: failed to download"
419-
continue
427+
gh_print_error_and_write_to_changelog_text_ln \
428+
"$0: error: failed to download: \`$index_dir/$index_file\`" \
429+
"* error: $index_dir/$index_file: failed to download"
430+
continue
431+
fi
432+
else
433+
# just copy from the cache if exist or create empty
434+
if (( ! NO_DOWNLOAD_ENTRIES_AND_CREATE_EMPTY_INSTEAD )) && [[ -f "$index_dir/$index_file" ]]; then
435+
cp -T "$index_dir/$index_file" "$TEMP_DIR/content/$index_dir/$index_file"
436+
else
437+
echo -n '' > "$TEMP_DIR/content/$index_dir/$index_file"
438+
fi
420439
fi
421440
422441
index_file_next_size="$(stat -c%s "$TEMP_DIR/content/$index_dir/$index_file")"
423442
424443
# check on empty
425444
if (( ! index_file_next_size )); then
426-
if [[ -s "$TEMP_DIR/curl_stderr/$index_dir/$index_file" ]]; then
427-
echo "$(<"$TEMP_DIR/curl_stderr/$index_dir/$index_file")"
428-
echo '---'
429-
fi
430-
431445
(( stats_failed_inc++ ))
432446
433447
gh_enable_print_buffering

bash/github/init-curl-workflow.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,29 @@ tkl_include_or_abort "$GH_WORKFLOW_ROOT/bash/github/init-basic-workflow.sh"
2121

2222
function curl_print_response_if_error()
2323
{
24+
local last_error=$?
25+
26+
(( ! ENABLE_PRINT_CURL_RESPONSE_ON_ERROR )) && return $last_error
27+
(( ! last_error )) && return $last_error
28+
2429
if [[ -z "$TEMP_DIR" ]]; then # otherwise use exterenal TEMP_DIR
2530
TEMP_DIR="$(mktemp -d)"
2631

2732
tkl_push_trap 'rm -rf "$TEMP_DIR"' RETURN
2833
fi
2934

30-
local last_error=$?
3135
local response_file="${1:-"$TEMP_DIR/response.txt"}"
3236

33-
(( ! ENABLE_PRINT_CURL_RESPONSE_ON_ERROR )) && return
34-
(( ! last_error )) && return
35-
36-
[[ ! -f "$response_file" ]] && return
37+
[[ ! -f "$response_file" ]] && return 255
3738

38-
read -r -d '' curl_response_file < "$response_file" || return
39+
read -r -d '' curl_response_file < "$response_file" || return 255
3940

4041
# CAUTION:
4142
# As a single line to reduce probability of mix with the stderr.
4243
#
4344
echo "CURL RESPONSE:"$'\r\n'"$curl_response_file"$'\r\n---'
45+
46+
return $last_error
4447
}
4548

4649
tkl_set_return

bash/github/init-print-workflow.sh

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -175,30 +175,21 @@ function gh_flush_print_annotations()
175175

176176
# NOTE: Groups only annotations with the same type.
177177
#
178-
# CAUTION:
179-
#
180-
# Because variable assignment works only between GitHub Actions job steps, then this will NOT work:
181-
#
182-
# - name: head annotations
183-
# shell: bash
184-
# run: |
185-
# $GH_WORKFLOW_ROOT/bash/github/begin-print-annotation-group.sh notice
186-
# $GH_WORKFLOW_ROOT/bash/github/print-notice.sh "111" "222"
187-
# $GH_WORKFLOW_ROOT/bash/github/end-print-annotation-group.sh
178+
179+
# NOTE:
188180
#
189-
# This will work:
181+
# Basically variable assignment works only between GitHub Actions job steps.
182+
# But the `init-basic-workflow.sh` script does reload the `GITHUB_ENV` file
183+
# implicitly, so that must work even if executed from a child process:
190184
#
191185
# - name: head annotations
192186
# shell: bash
193187
# run: |
194188
# $GH_WORKFLOW_ROOT/bash/github/begin-print-annotation-group.sh notice
195-
#
196-
# - name: head annotations
197-
# shell: bash
198-
# run: |
199189
# $GH_WORKFLOW_ROOT/bash/github/print-notice.sh "111" "222"
200190
# $GH_WORKFLOW_ROOT/bash/github/end-print-annotation-group.sh # must be last in the step
201191
#
192+
202193
function gh_begin_print_annotation_group()
203194
{
204195
[[ -z "$GITHUB_ACTIONS" ]] && return 0

bash/github/print-error.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function gh_print_error_ln()
6565

6666
gh_process_annotation_print error '' "$RETURN_VALUE"
6767

68-
GHWF_PRINT_ERROR_BUF_STR="${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
68+
gh_set_env_var GHWF_PRINT_ERROR_BUF_STR "${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
6969
else
70-
GHWF_PRINT_ERROR_BUF_STR="${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+$'\r\n'}$*"
70+
gh_set_env_var GHWF_PRINT_ERROR_BUF_STR "${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+$'\r\n'}$*"
7171
fi
7272
else
7373
# with check on integer value
@@ -133,20 +133,21 @@ function gh_print_errors_buffer()
133133

134134
[[ -z "$buf" ]] && return 0
135135

136+
local IFS
136137
local line
137138

138139
# with check on integer value
139140
[[ -n "$PRINT_ERROR_LAG_FSEC" && -z "${PRINT_ERROR_LAG_FSEC//[0-9]/}" ]] && (( PRINT_ERROR_LAG_FSEC > 0 )) && sleep $PRINT_ERROR_LAG_FSEC
140141

141142
if [[ -n "$GITHUB_ACTIONS" ]]; then
142-
local IFS=$'\n'; for line in "$buf"; do
143+
while IFS=$'\n' read -r line; do
143144
gh_trim_trailing_line_return_chars "$line"
144145

145146
# fix multiline text in a single argument
146147
gh_encode_line_return_chars "$RETURN_VALUE"
147148

148149
gh_print_annotation_line "$RETURN_VALUE"
149-
done >&2
150+
done < "$buf" >&2
150151
else
151152
gh_print_args "$buf" >&2
152153
fi
@@ -167,11 +168,11 @@ function gh_print_errors()
167168

168169
gh_process_annotation_print error '' "$RETURN_VALUE"
169170

170-
GHWF_PRINT_ERROR_BUF_STR="${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171+
gh_set_env_var GHWF_PRINT_ERROR_BUF_STR "${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171172
done
172173
else
173174
IFS=$'\n'; for arg in "$@"; do
174-
GHWF_PRINT_ERROR_BUF_STR="${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+$'\r\n'}$arg"
175+
gh_set_env_var GHWF_PRINT_ERROR_BUF_STR "${GHWF_PRINT_ERROR_BUF_STR}${GHWF_PRINT_ERROR_BUF_STR:+$'\r\n'}$arg"
175176
done
176177
fi
177178
else

bash/github/print-notice.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function gh_print_notice_ln()
6565

6666
gh_process_annotation_print notice '' "$RETURN_VALUE"
6767

68-
GHWF_PRINT_NOTICE_BUF_STR="${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
68+
gh_set_env_var GHWF_PRINT_NOTICE_BUF_STR "${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
6969
else
70-
GHWF_PRINT_NOTICE_BUF_STR="${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+$'\r\n'}$*"
70+
gh_set_env_var GHWF_PRINT_NOTICE_BUF_STR "${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+$'\r\n'}$*"
7171
fi
7272
else
7373
# with check on integer value
@@ -133,20 +133,21 @@ function gh_print_notices_buffer()
133133

134134
[[ -z "$buf" ]] && return 0
135135

136+
local IFS
136137
local line
137138

138139
# with check on integer value
139140
[[ -n "$PRINT_NOTICE_LAG_FSEC" && -z "${PRINT_NOTICE_LAG_FSEC//[0-9]/}" ]] && (( PRINT_NOTICE_LAG_FSEC > 0 )) && sleep $PRINT_NOTICE_LAG_FSEC
140141

141142
if [[ -n "$GITHUB_ACTIONS" ]]; then
142-
local IFS=$'\n'; for line in "$buf"; do
143+
while IFS=$'\n' read -r line; do
143144
gh_trim_trailing_line_return_chars "$line"
144145

145146
# fix multiline text in a single argument
146147
gh_encode_line_return_chars "$RETURN_VALUE"
147148

148149
gh_print_annotation_line "$RETURN_VALUE"
149-
done
150+
done < "$buf"
150151
else
151152
gh_print_args "$buf"
152153
fi
@@ -167,11 +168,11 @@ function gh_print_notices()
167168

168169
gh_process_annotation_print notice '' "$RETURN_VALUE"
169170

170-
GHWF_PRINT_NOTICE_BUF_STR="${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171+
gh_set_env_var GHWF_PRINT_NOTICE_BUF_STR "${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171172
done
172173
else
173174
IFS=$'\n'; for arg in "$@"; do
174-
GHWF_PRINT_NOTICE_BUF_STR="${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+$'\r\n'}$arg"
175+
gh_set_env_var GHWF_PRINT_NOTICE_BUF_STR "${GHWF_PRINT_NOTICE_BUF_STR}${GHWF_PRINT_NOTICE_BUF_STR:+$'\r\n'}$arg"
175176
done
176177
fi
177178
else

bash/github/print-warning.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function gh_print_warning_ln()
6565

6666
gh_process_annotation_print warning '' "$RETURN_VALUE"
6767

68-
GHWF_PRINT_WARNING_BUF_STR="${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
68+
gh_set_env_var GHWF_PRINT_WARNING_BUF_STR "${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
6969
else
70-
GHWF_PRINT_WARNING_BUF_STR="${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+$'\r\n'}$*"
70+
gh_set_env_var GHWF_PRINT_WARNING_BUF_STR "${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+$'\r\n'}$*"
7171
fi
7272
else
7373
# with check on integer value
@@ -133,20 +133,21 @@ function gh_print_warnings_buffer()
133133

134134
[[ -z "$buf" ]] && return 0
135135

136+
local IFS
136137
local line
137138

138139
# with check on integer value
139140
[[ -n "$PRINT_WARNING_LAG_FSEC" && -z "${PRINT_WARNING_LAG_FSEC//[0-9]/}" ]] && (( PRINT_WARNING_LAG_FSEC > 0 )) && sleep $PRINT_WARNING_LAG_FSEC
140141

141142
if [[ -n "$GITHUB_ACTIONS" ]]; then
142-
local IFS=$'\n'; for line in "$buf"; do
143+
while IFS=$'\n' read -r line; do
143144
gh_trim_trailing_line_return_chars "$line"
144145

145146
# fix multiline text in a single argument
146147
gh_encode_line_return_chars "$RETURN_VALUE"
147148

148149
gh_print_annotation_line "$RETURN_VALUE"
149-
done >&2
150+
done < "$buf" >&2
150151
else
151152
gh_print_args "$buf" >&2
152153
fi
@@ -167,11 +168,11 @@ function gh_print_warnings()
167168

168169
gh_process_annotation_print warning '' "$RETURN_VALUE"
169170

170-
GHWF_PRINT_WARNING_BUF_STR="${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171+
gh_set_env_var GHWF_PRINT_WARNING_BUF_STR "${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+"${RETURN_VALUES[0]}"}${RETURN_VALUES[1]}"
171172
done
172173
else
173174
IFS=$'\n'; for arg in "$@"; do
174-
GHWF_PRINT_WARNING_BUF_STR="${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+$'\r\n'}$arg"
175+
gh_set_env_var GHWF_PRINT_WARNING_BUF_STR "${GHWF_PRINT_WARNING_BUF_STR}${GHWF_PRINT_WARNING_BUF_STR:+$'\r\n'}$arg"
175176
done
176177
fi
177178
else

bash/inpage/accum-downloads.sh

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,28 +61,25 @@ tkl_push_trap 'curl_print_response_if_error "$TEMP_DIR/response.txt"' EXIT
6161
# The `sed` has to be used to ignore blank lines by replacing `CR` by `LF`.
6262
# This is required for uniform parse the curl output in both verbose or non verbose mode.
6363
#
64-
if eval curl $curl_flags -o "\$TEMP_DIR/response.txt" "\$query_url" 2>&1 | tee "$TEMP_DIR/response-stderr.txt" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'; then
65-
echo '---'
66-
else
67-
echo '---'
64+
eval curl $curl_flags -o '"$TEMP_DIR/response.txt"' '"$query_url"' 2>&1 | tee "$TEMP_DIR/response-stderr.txt" | sed -E 's/\r([^\n])/\n\1/g' | grep -P '^(?: [% ] |(?: | \d|\d\d)\d |[<>] )'
65+
last_error=$?
66+
67+
echo '---'
6868

69-
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
70-
echo "$(<"$TEMP_DIR/response-stderr.txt")"
71-
echo '---'
72-
fi
69+
# always print stderr unconditionally to a return code
70+
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
71+
echo "$(<"$TEMP_DIR/response-stderr.txt")"
72+
echo '---'
73+
fi
7374

75+
if (( last_error )); then
7476
gh_enable_print_buffering
7577

7678
(( ! CONTINUE_ON_INVALID_INPUT )) && exit 255
7779
fi
7880

7981
# check on empty
8082
if [[ ! -s "$TEMP_DIR/response.txt" ]]; then
81-
if [[ -s "$TEMP_DIR/response-stderr.txt" ]]; then
82-
echo "$(<"$TEMP_DIR/response-stderr.txt")"
83-
echo '---'
84-
fi
85-
8683
gh_enable_print_buffering
8784

8885
(( ! CONTINUE_ON_INVALID_INPUT )) && exit 255

changelog.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2022.08.22:
2+
* fixed: bash/github/print-*.sh: line returns fixup
3+
* fixed: bash/github/init-curl-workflow.sh: return code correct handling
4+
* new: bash/cache/accum-content.sh: added `NO_DOWNLOAD_ENTRIES` and `NO_DOWNLOAD_ENTRIES_AND_CREATE_EMPTY_INSTEAD` variables to be able to debug locally without download
5+
* changed: bash: board/accum-stats.sh, cache/accum-content.sh, inpage/accum-downloads.sh: print-*.sh: always print stderr unconditionally to a return code
6+
* changed: bash/github/print-*.sh: `GHWF_PRINT_ERROR_BUF_STR` variable assign by `gh_set_env_var` to be able to debug using `GITHUB_ENV` file locally
7+
* changed: bash/github: code cleanup
8+
19
2022.08.21:
210
* new: bash/cache/accum-content.sh: added prev/next file size print
311
* new: bash/cache: init-print-workflow.sh, accum-content.sh: enabled changed file notice messages groupping into a single annotation to fit the GitHub Actions summary maximum limit as 10 annotations (restored, because the message truncation actually was a message shrink into a single line, after expand it does restore back into multiline string)

0 commit comments

Comments
 (0)