Skip to content

Commit 634890a

Browse files
authored
v1.7.2
2 parents e324a21 + 5125d97 commit 634890a

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/actions/check-artifact-content/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
ANSI_LIGHT_RED=$'\x1b[91m'
4040
ANSI_LIGHT_GREEN=$'\x1b[92m'
4141
ANSI_LIGHT_YELLOW=$'\x1b[93m'
42-
ANSI_LIGHT_BLUE="\e[94m"
42+
ANSI_LIGHT_BLUE=$'\x1b[94m'
4343
ANSI_NOCOLOR=$'\x1b[0m'
4444
4545
printf "::group::${ANSI_LIGHT_BLUE}List directory content ...${ANSI_NOCOLOR}\n"

action.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ runs:
128128
ANSI_LIGHT_RED=$'\x1b[91m'
129129
ANSI_LIGHT_GREEN=$'\x1b[92m'
130130
ANSI_LIGHT_YELLOW=$'\x1b[93m'
131-
ANSI_LIGHT_BLUE="\e[94m"
131+
ANSI_LIGHT_BLUE=$'\x1b[94m'
132132
ANSI_NOCOLOR=$'\x1b[0m'
133133
134134
if ! [[ "${{ runner.os }}" == "macOS" || "${{ runner.os }}" == "Linux" || "${{ runner.os }}" == "Windows" ]]; then
@@ -143,10 +143,6 @@ runs:
143143
fi
144144
145145
if [[ "${{ runner.os }}" == "macOS" ]]; then
146-
printf "::group::${ANSI_LIGHT_BLUE}%s${ANSI_NOCOLOR}\n" "Install newer 'bash' via homebrew ..."
147-
brew install bash
148-
printf "::endgroup::\n"
149-
150146
tarProg="gtar"
151147
else
152148
tarProg="tar"
@@ -208,7 +204,7 @@ runs:
208204
printf "::group::${ANSI_LIGHT_BLUE}List all pattern for '${tarProg}' ...${ANSI_NOCOLOR}\n"
209205
while IFS=$'\r\n' read -r pattern; do
210206
printf " %s\n" "${pattern}"
211-
done <<<$(print_files_unique "${PATTERNS[@]}")
207+
done < <(print_files_unique "${PATTERNS[@]}")
212208
printf "::endgroup::\n"
213209
214210
printf "%s\n" "Checking ${tarProg} ($(which ${tarProg})): ${ANSI_CYAN}$(${tarProg} --version | head -n 1)${ANSI_NOCOLOR}"
@@ -260,7 +256,7 @@ runs:
260256
ANSI_LIGHT_RED=$'\x1b[91m'
261257
ANSI_LIGHT_GREEN=$'\x1b[92m'
262258
ANSI_LIGHT_YELLOW=$'\x1b[93m'
263-
ANSI_LIGHT_BLUE="\e[94m"
259+
ANSI_LIGHT_BLUE=$'\x1b[94m'
264260
ANSI_NOCOLOR=$'\x1b[0m'
265261
266262
if [[ "${{ runner.os }}" == "macOS" ]]; then
@@ -273,7 +269,7 @@ runs:
273269
while IFS=$'\r\n' read -r file; do
274270
printf " %s\n" "${file}"
275271
${tarProg} -vf "${{ inputs.tarball-name }}" --delete "${file}"
276-
done <<<$(${tarProg} -tf "${{ inputs.tarball-name }}" | grep -E '^\.|/\.')
272+
done < <(${tarProg} -tf "${{ inputs.tarball-name }}" | grep -E '^\.|/\.')
277273
printf "::endgroup::\n"
278274
279275
- name: List content of the generated tarball
@@ -288,7 +284,7 @@ runs:
288284
ANSI_LIGHT_RED=$'\x1b[91m'
289285
ANSI_LIGHT_GREEN=$'\x1b[92m'
290286
ANSI_LIGHT_YELLOW=$'\x1b[93m'
291-
ANSI_LIGHT_BLUE="\e[94m"
287+
ANSI_LIGHT_BLUE=$'\x1b[94m'
292288
ANSI_NOCOLOR=$'\x1b[0m'
293289
294290
if [[ "${{ runner.os }}" == "macOS" ]]; then
@@ -331,7 +327,7 @@ runs:
331327
ANSI_LIGHT_RED=$'\x1b[91m'
332328
ANSI_LIGHT_GREEN=$'\x1b[92m'
333329
ANSI_LIGHT_YELLOW=$'\x1b[93m'
334-
ANSI_LIGHT_BLUE="\e[94m"
330+
ANSI_LIGHT_BLUE=$'\x1b[94m'
335331
ANSI_NOCOLOR=$'\x1b[0m'
336332
337333
printf "%s" "Removing temporary tarball ... "

0 commit comments

Comments
 (0)