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 3636 - name : Save supported versions as output
3737 id : set-matrix
3838 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
4441
4542 build-test :
4643 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 1919 - name : Save supported versions as output
2020 id : set-matrix
2121 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
2724
2825 build_push_release :
2926 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments