mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-20 05:52:24 +00:00
runs-on: ubuntu-22.04
https://github.com/actions/runner-images/issues/11101
This commit is contained in:
parent
b68f0a206c
commit
b5dbbf1a2f
9 changed files with 18 additions and 13 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- 386
|
- 386
|
||||||
- armv5
|
- armv5
|
||||||
- s390x
|
- s390x
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
@ -244,7 +244,7 @@ location /sub {
|
||||||
|
|
||||||
## SO Recomendados
|
## SO Recomendados
|
||||||
|
|
||||||
- Ubuntu 20.04+
|
- Ubuntu 22.04+
|
||||||
- Debian 11+
|
- Debian 11+
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- OpenEuler 22.03+
|
- OpenEuler 22.03+
|
||||||
|
@ -258,6 +258,7 @@ location /sub {
|
||||||
- Oracle Linux 8+
|
- Oracle Linux 8+
|
||||||
- OpenSUSE Tubleweed
|
- OpenSUSE Tubleweed
|
||||||
- Amazon Linux 2023
|
- Amazon Linux 2023
|
||||||
|
- Virtuozzo Linux 8+
|
||||||
- Windows x64
|
- Windows x64
|
||||||
|
|
||||||
## Arquitecturas y Dispositivos Compatibles
|
## Arquitecturas y Dispositivos Compatibles
|
||||||
|
|
|
@ -245,7 +245,7 @@ location /sub {
|
||||||
|
|
||||||
## سیستمعاملهای توصیه شده
|
## سیستمعاملهای توصیه شده
|
||||||
|
|
||||||
- Ubuntu 20.04+
|
- Ubuntu 22.04+
|
||||||
- Debian 11+
|
- Debian 11+
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- OpenEuler 22.03+
|
- OpenEuler 22.03+
|
||||||
|
@ -259,6 +259,7 @@ location /sub {
|
||||||
- Oracle Linux 8+
|
- Oracle Linux 8+
|
||||||
- OpenSUSE Tubleweed
|
- OpenSUSE Tubleweed
|
||||||
- Amazon Linux 2023
|
- Amazon Linux 2023
|
||||||
|
- Virtuozzo Linux 8+
|
||||||
- Windows x64
|
- Windows x64
|
||||||
|
|
||||||
## معماریها و دستگاههای پشتیبانی شده
|
## معماریها و دستگاههای پشتیبانی شده
|
||||||
|
|
|
@ -249,7 +249,7 @@ location /sub {
|
||||||
|
|
||||||
## Recommended OS
|
## Recommended OS
|
||||||
|
|
||||||
- Ubuntu 20.04+
|
- Ubuntu 22.04+
|
||||||
- Debian 11+
|
- Debian 11+
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- OpenEuler 22.03+
|
- OpenEuler 22.03+
|
||||||
|
@ -263,6 +263,7 @@ location /sub {
|
||||||
- Oracle Linux 8+
|
- Oracle Linux 8+
|
||||||
- OpenSUSE Tubleweed
|
- OpenSUSE Tubleweed
|
||||||
- Amazon Linux 2023
|
- Amazon Linux 2023
|
||||||
|
- Virtuozzo Linux 8+
|
||||||
- Windows x64
|
- Windows x64
|
||||||
|
|
||||||
## Supported Architectures and Devices
|
## Supported Architectures and Devices
|
||||||
|
|
|
@ -248,7 +248,7 @@ location /sub {
|
||||||
|
|
||||||
## Рекомендуемые ОС
|
## Рекомендуемые ОС
|
||||||
|
|
||||||
- Ubuntu 20.04+
|
- Ubuntu 22.04+
|
||||||
- Debian 11+
|
- Debian 11+
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- OpenEuler 22.03+
|
- OpenEuler 22.03+
|
||||||
|
@ -262,6 +262,7 @@ location /sub {
|
||||||
- Oracle Linux 8+
|
- Oracle Linux 8+
|
||||||
- OpenSUSE Tubleweed
|
- OpenSUSE Tubleweed
|
||||||
- Amazon Linux 2023
|
- Amazon Linux 2023
|
||||||
|
- Virtuozzo Linux 8+
|
||||||
- Windows x64
|
- Windows x64
|
||||||
|
|
||||||
## Поддерживаемые архитектуры и устройства
|
## Поддерживаемые архитектуры и устройства
|
||||||
|
|
|
@ -245,7 +245,7 @@ location /sub {
|
||||||
|
|
||||||
## 建议使用的操作系统
|
## 建议使用的操作系统
|
||||||
|
|
||||||
- Ubuntu 20.04+
|
- Ubuntu 22.04+
|
||||||
- Debian 11+
|
- Debian 11+
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- OpenEuler 22.03+
|
- OpenEuler 22.03+
|
||||||
|
@ -259,6 +259,7 @@ location /sub {
|
||||||
- Oracle Linux 8+
|
- Oracle Linux 8+
|
||||||
- OpenSUSE Tubleweed
|
- OpenSUSE Tubleweed
|
||||||
- Amazon Linux 2023
|
- Amazon Linux 2023
|
||||||
|
- Virtuozzo Linux 8+
|
||||||
- Windows x64
|
- Windows x64
|
||||||
|
|
||||||
## 支持的架构和设备
|
## 支持的架构和设备
|
||||||
|
|
|
@ -63,8 +63,8 @@ elif [[ "${release}" == "centos" ]]; then
|
||||||
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
|
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "${release}" == "ubuntu" ]]; then
|
elif [[ "${release}" == "ubuntu" ]]; then
|
||||||
if [[ ${os_version} -lt 2004 ]]; then
|
if [[ ${os_version} -lt 2204 ]]; then
|
||||||
echo -e "${red} Please use Ubuntu 20 or higher version!${plain}\n" && exit 1
|
echo -e "${red} Please use Ubuntu 22 or higher version!${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "${release}" == "fedora" ]]; then
|
elif [[ "${release}" == "fedora" ]]; then
|
||||||
if [[ ${os_version} -lt 36 ]]; then
|
if [[ ${os_version} -lt 36 ]]; then
|
||||||
|
@ -97,7 +97,7 @@ elif [[ "${release}" == "virtuozzo" ]]; then
|
||||||
else
|
else
|
||||||
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
||||||
echo "Please ensure you are using one of the following supported operating systems:"
|
echo "Please ensure you are using one of the following supported operating systems:"
|
||||||
echo "- Ubuntu 20.04+"
|
echo "- Ubuntu 22.04+"
|
||||||
echo "- Debian 11+"
|
echo "- Debian 11+"
|
||||||
echo "- CentOS 8+"
|
echo "- CentOS 8+"
|
||||||
echo "- OpenEuler 22.03+"
|
echo "- OpenEuler 22.03+"
|
||||||
|
|
6
x-ui.sh
6
x-ui.sh
|
@ -60,8 +60,8 @@ elif [[ "${release}" == "centos" ]]; then
|
||||||
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
|
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "${release}" == "ubuntu" ]]; then
|
elif [[ "${release}" == "ubuntu" ]]; then
|
||||||
if [[ ${os_version} -lt 2004 ]]; then
|
if [[ ${os_version} -lt 2204 ]]; then
|
||||||
echo -e "${red} Please use Ubuntu 20 or higher version!${plain}\n" && exit 1
|
echo -e "${red} Please use Ubuntu 22 or higher version!${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "${release}" == "fedora" ]]; then
|
elif [[ "${release}" == "fedora" ]]; then
|
||||||
if [[ ${os_version} -lt 36 ]]; then
|
if [[ ${os_version} -lt 36 ]]; then
|
||||||
|
@ -94,7 +94,7 @@ elif [[ "${release}" == "virtuozzo" ]]; then
|
||||||
else
|
else
|
||||||
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
echo -e "${red}Your operating system is not supported by this script.${plain}\n"
|
||||||
echo "Please ensure you are using one of the following supported operating systems:"
|
echo "Please ensure you are using one of the following supported operating systems:"
|
||||||
echo "- Ubuntu 20.04+"
|
echo "- Ubuntu 22.04+"
|
||||||
echo "- Debian 11+"
|
echo "- Debian 11+"
|
||||||
echo "- CentOS 8+"
|
echo "- CentOS 8+"
|
||||||
echo "- OpenEuler 22.03+"
|
echo "- OpenEuler 22.03+"
|
||||||
|
|
Loading…
Reference in a new issue