添加reF1nd内核自动编译
This commit is contained in:
8
.github/workflows/core_auto_update.yml
vendored
8
.github/workflows/core_auto_update.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: PuerNya/sing-box
|
repository: reF1nd/sing-box
|
||||||
ref: building
|
ref: building
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Check version
|
- name: Check version
|
||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
git remote add sekai https://github.com/SagerNet/sing-box.git
|
git remote add sekai https://github.com/SagerNet/sing-box.git
|
||||||
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_reF1nd/version)
|
||||||
if [ "$version_old" != "$version_new" ];then
|
if [ "$version_old" != "$version_new" ];then
|
||||||
echo a=$version_old >> $GITHUB_ENV
|
echo a=$version_old >> $GITHUB_ENV
|
||||||
echo b=$version_new >> $GITHUB_ENV
|
echo b=$version_new >> $GITHUB_ENV
|
||||||
@@ -35,9 +35,9 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
uses: juewuy/ShellCrash/.github/workflows/update_singbox_core.yaml@dev
|
uses: juewuy/ShellCrash/.github/workflows/update_singbox_core.yaml@dev
|
||||||
with:
|
with:
|
||||||
tag1: PuerNya/sing-box
|
tag1: reF1nd/sing-box
|
||||||
tag2: building
|
tag2: building
|
||||||
tag3: singbox_core_PuerNya
|
tag3: singbox_core_reF1nd
|
||||||
tag5: with_quic,with_dhcp,with_wireguard,with_shadowsocksr,with_ech,with_utls,with_clash_api,with_gvisor
|
tag5: with_quic,with_dhcp,with_wireguard,with_shadowsocksr,with_ech,with_utls,with_clash_api,with_gvisor
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/update_singbox_core.yaml
vendored
6
.github/workflows/update_singbox_core.yaml
vendored
@@ -82,10 +82,10 @@ jobs:
|
|||||||
[ -z "$version" ] && version=${{ inputs.tag2 }}
|
[ -z "$version" ] && version=${{ inputs.tag2 }}
|
||||||
echo version=$version >> $GITHUB_OUTPUT
|
echo version=$version >> $GITHUB_OUTPUT
|
||||||
if [ -z "$TAGS" ];then
|
if [ -z "$TAGS" ];then
|
||||||
if [ "$REPO" = 'PuerNya/sing-box' ];then
|
if [ "$REPO" = 'SagerNet/sing-box' ];then
|
||||||
echo tags=with_quic,with_utls,with_shadowsocksr,with_clash_api >> $GITHUB_OUTPUT
|
|
||||||
else
|
|
||||||
echo tags=with_quic,with_utls,with_clash_api >> $GITHUB_OUTPUT
|
echo tags=with_quic,with_utls,with_clash_api >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo tags=with_quic,with_utls,with_clash_api,with_shadowsocksr >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo tags=$TAGS >> $GITHUB_OUTPUT
|
echo tags=$TAGS >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user