File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 44
44
run : |
45
45
sudo snap install yq > /dev/null
46
46
47
+ - name : Update APT package lists
48
+ shell : bash
49
+ run : |
50
+ sudo apt-get update > /dev/null
51
+
47
52
- name : Install Valgrind
48
53
shell : bash
49
54
run : |
54
59
run : |
55
60
if [[ -n "${{ inputs.runtime-path }}" ]]; then
56
61
echo "::warning::The runtime-path input is deprecated. Please use runtime-paths instead."
57
- RUNTIME_PATHS="${{ inputs.runtime-path }}"
62
+ RUNTIME_PATHS="- ${{ inputs.runtime-path }}"
58
63
else
59
64
RUNTIME_PATHS="${{ inputs.runtime-paths }}"
60
65
fi
68
73
echo "::error file=$runtimePath::While running $runtimePath"
69
74
fi
70
75
echo "::endgroup::"
71
- done <<<"$(echo "$RUNTIME_PATHS" | yq read - [*] )"
76
+ done <<<"$(echo "$RUNTIME_PATHS" | yq eval '.[]' - )"
72
77
exit $EXIT_STATUS
73
78
74
79
- name : Parse coverage-exclude-paths input
77
82
run : |
78
83
while IFS='' read -r excludePath && [[ -n "$excludePath" ]]; do
79
84
excludePaths="$excludePaths $excludePath"
80
- done <<<"$(echo "${{ inputs.coverage-exclude-paths }}" | yq read - [*] )"
85
+ done <<<"$(echo "${{ inputs.coverage-exclude-paths }}" | yq eval '.[]' - )"
81
86
# Make the parsed paths an output so it can be used by the next step
82
87
echo "::set-output name=paths::$excludePaths"
83
88
You can’t perform that action at this time.
0 commit comments