mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
Update core_auto_update.yml
This commit is contained in:
parent
323b32ae0c
commit
0033d86e65
7
.github/workflows/core_auto_update.yml
vendored
7
.github/workflows/core_auto_update.yml
vendored
|
@ -21,10 +21,13 @@ jobs:
|
||||||
git fetch --tags sekai
|
git fetch --tags sekai
|
||||||
version_new=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag)
|
version_new=$(CGO_ENABLED=0 go run ./cmd/internal/read_tag)
|
||||||
version_old=$(curl -sSl https://github.com/juewuy/ShellCrash/releases/download/singbox_core_PuerNya/version)
|
version_old=$(curl -sSl https://github.com/juewuy/ShellCrash/releases/download/singbox_core_PuerNya/version)
|
||||||
[ "$version_old" = "$version_new" ] && {
|
if [ "$version_old" != "$version_new" ];then
|
||||||
|
echo a=$version_old >> $GITHUB_ENV
|
||||||
|
echo b=$version_new >> $GITHUB_ENV
|
||||||
|
else
|
||||||
echo "未检查到版本更新,已退出!"
|
echo "未检查到版本更新,已退出!"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
fi
|
||||||
|
|
||||||
auto_update_singboxp_with_wg:
|
auto_update_singboxp_with_wg:
|
||||||
needs: check_version
|
needs: check_version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user