mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Update update-dependencies.yml
This commit is contained in:
parent
4ea29cdd9e
commit
67c4538af3
1 changed files with 1 additions and 9 deletions
8
.github/workflows/update-dependencies.yml
vendored
8
.github/workflows/update-dependencies.yml
vendored
|
@ -60,15 +60,7 @@ jobs:
|
||||||
xargs -r go get -u
|
xargs -r go get -u
|
||||||
|
|
||||||
echo "Specifically updating xray-core to latest commit..."
|
echo "Specifically updating xray-core to latest commit..."
|
||||||
# Принудительно обновляем до последнего коммита в master/main
|
|
||||||
go get github.com/xtls/xray-core@master
|
|
||||||
|
|
||||||
# Если по каким-то причинам master не существует, пробуем main
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "Trying main branch instead..."
|
|
||||||
go get github.com/xtls/xray-core@main
|
go get github.com/xtls/xray-core@main
|
||||||
fi
|
|
||||||
|
|
||||||
# Проверяем, какую версию получили
|
# Проверяем, какую версию получили
|
||||||
echo "Updated xray-core to:"
|
echo "Updated xray-core to:"
|
||||||
go list -m github.com/xtls/xray-core
|
go list -m github.com/xtls/xray-core
|
||||||
|
|
Loading…
Reference in a new issue