diff --git a/.github/workflows/detals-check-generate-matrix.sh b/.github/workflows/detals-check-generate-matrix.sh index 247a7641f..bba9e8d5d 100755 --- a/.github/workflows/detals-check-generate-matrix.sh +++ b/.github/workflows/detals-check-generate-matrix.sh @@ -6,20 +6,18 @@ echo -n "{" > "shortnamearray.json" echo -n "\"include\":[" >> "shortnamearray.json" while read -r line; do - if [ "${shortname}" != "sbots" ] && [ "${shortname}" != "inss" ]; then - shortname=$(echo "$line" | awk -F, '{ print $1 }') - export shortname - servername=$(echo "$line" | awk -F, '{ print $2 }') - export servername - gamename=$(echo "$line" | awk -F, '{ print $3 }') - export gamename - distro=$(echo "$line" | awk -F, '{ print $4 }') - export distro - echo -n "{" >> "shortnamearray.json" - echo -n "\"shortname\":" >> "shortnamearray.json" - echo -n "\"${shortname}\"" >> "shortnamearray.json" - echo -n "}," >> "shortnamearray.json" - fi + shortname=$(echo "$line" | awk -F, '{ print $1 }') + export shortname + servername=$(echo "$line" | awk -F, '{ print $2 }') + export servername + gamename=$(echo "$line" | awk -F, '{ print $3 }') + export gamename + distro=$(echo "$line" | awk -F, '{ print $4 }') + export distro + echo -n "{" >> "shortnamearray.json" + echo -n "\"shortname\":" >> "shortnamearray.json" + echo -n "\"${shortname}\"" >> "shortnamearray.json" + echo -n "}," >> "shortnamearray.json" done < <(tail -n +2 serverlist.csv) sed -i '$ s/.$//' "shortnamearray.json" echo -n "]" >> "shortnamearray.json"