Modify go.yml file
Signed-off-by: Sachin Sahu <75629410+SachinSahu431@users.noreply.github.com>
This commit is contained in:
parent
cd45345437
commit
1fc81cf736
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- name: Read supported_go_versions.txt
|
- name: Read supported_go_versions.txt
|
||||||
id: matrix
|
id: matrix
|
||||||
run: |
|
run: |
|
||||||
versions=$(head -n 3 supported_go_versions.txt)
|
versions=$(cat supported_go_versions.txt)
|
||||||
matrix="[$(echo "$versions" | sed 's/\(.*\)/"\1"/' | paste -s -d,)]"
|
matrix="[$(echo "$versions" | sed 's/\(.*\)/"\1"/' | paste -s -d,)]"
|
||||||
echo "supported_versions=$matrix" >> $GITHUB_OUTPUT
|
echo "supported_versions=$matrix" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue