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
10
.github/workflows/update-dependencies.yml
vendored
10
.github/workflows/update-dependencies.yml
vendored
|
@ -60,15 +60,7 @@ jobs:
|
|||
xargs -r go get -u
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
go get github.com/xtls/xray-core@main
|
||||
# Проверяем, какую версию получили
|
||||
echo "Updated xray-core to:"
|
||||
go list -m github.com/xtls/xray-core
|
||||
|
|
Loading…
Reference in a new issue