File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 36
36
- name : Save supported versions as output
37
37
id : set-matrix
38
38
run : |
39
- SUPPORTED_VERSIONS=$(cat ./supported_versions.json)
40
- SUPPORTED_VERSIONS="${SUPPORTED_VERSIONS//'%'/%25}"
41
- SUPPORTED_VERSIONS="${SUPPORTED_VERSIONS//$'\n'/%0A}"
42
- SUPPORTED_VERSIONS="${SUPPORTED_VERSIONS//$'\r'/%0D}"
43
- echo "::set-output name=matrix::${SUPPORTED_VERSIONS}"
39
+ VERSIONS=$(cat ./supported_versions.json | jq -c)
40
+ echo "matrix=${VERSIONS}" >> $GITHUB_OUTPUT
44
41
45
42
build-test :
46
43
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 19
19
- name : Save supported versions as output
20
20
id : set-matrix
21
21
run : |
22
- VERSIONS=$(cat ./supported_versions.json)
23
- VERSIONS="${VERSIONS//'%'/%25}"
24
- VERSIONS="${VERSIONS//$'\n'/%0A}"
25
- VERSIONS="${VERSIONS//$'\r'/%0D}"
26
- echo "::set-output name=matrix::${VERSIONS}"
22
+ VERSIONS=$(cat ./supported_versions.json | jq -c)
23
+ echo "matrix=${VERSIONS}" >> $GITHUB_OUTPUT
27
24
28
25
build_push_release :
29
26
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments