diff --git a/.github/workflows/update_clash_core.yaml b/.github/workflows/update_clash_core.yaml index 020911e..6d993ae 100644 --- a/.github/workflows/update_clash_core.yaml +++ b/.github/workflows/update_clash_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch} diff --git a/.github/workflows/update_dotnet_core.yaml b/.github/workflows/update_dotnet_core.yaml index 5945eba..7641078 100644 --- a/.github/workflows/update_dotnet_core.yaml +++ b/.github/workflows/update_dotnet_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch} diff --git a/.github/workflows/update_meta_core.yaml b/.github/workflows/update_meta_core.yaml index c779213..8a281a5 100644 --- a/.github/workflows/update_meta_core.yaml +++ b/.github/workflows/update_meta_core.yaml @@ -37,7 +37,7 @@ jobs: wget "${download_url}/${download_tag}/Clash.Meta-linux-${archs[i]}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${new_name[i]} chmod +x ./tmp/clash-linux-${new_name[i]} if [ "${archs[i]}" != "armv5" ];then - if [ "${archs[i]}" = "mips-softfloat" ];then + if [[ ${archs[i]} = mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${new_name[i]} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${new_name[i]} diff --git a/.github/workflows/update_prenium_core.yaml b/.github/workflows/update_prenium_core.yaml index ada90ad..8ae65ff 100644 --- a/.github/workflows/update_prenium_core.yaml +++ b/.github/workflows/update_prenium_core.yaml @@ -29,7 +29,7 @@ jobs: wget "${download_url}/${download_version}/clash-linux-${arch}-${download_version}.gz" -O - | gunzip -c > ./tmp/clash-linux-${arch} chmod +x ./tmp/clash-linux-${arch} if [ "${arch}" != "armv5" ];then - if [ "${arch}" = "mips-softfloat" ];then + if [[ ${arch} == mips* ]];then ./upx-3.93-amd64_linux/upx ./tmp/clash-linux-${arch} else ./upx-3.96-amd64_linux/upx ./tmp/clash-linux-${arch}