Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/update-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:

- name: Set variables
run: |
echo "yacd_version=$(curl -sSL https://api.github.com/repos/haishanh/yacd/releases/latest | jq -r '.tag_name')" >> ${GITHUB_ENV}
echo "yacd_time=$(curl -sSL https://api.github.com/repos/haishanh/yacd/commits/gh-pages | jq -r '.commit.committer.date' | xargs -I {} date -d '{} +8 hours' '+%Y-%m-%d')" >> ${GITHUB_ENV}
echo "yacd_meta_version=$(curl -sSL https://api.github.com/repos/MetaCubeX/Yacd-meta/releases/latest | jq -r '.tag_name')" >> ${GITHUB_ENV}
echo "yacd_meta_time=$(curl -sSL https://api.github.com/repos/MetaCubeX/Yacd-meta/commits/gh-pages | jq -r '.commit.committer.date' | xargs -I {} date -d '{} +8 hours' '+%Y-%m-%d')" >> ${GITHUB_ENV}
echo "metacubexd_version=$(curl -sSL https://api.github.com/repos/MetaCubeX/metacubexd/releases/latest | jq -r '.tag_name')" >> ${GITHUB_ENV}
Expand All @@ -36,7 +34,6 @@ jobs:
run: |
current_body=$(curl -sSL "https://api.github.com/repos/${{ github.repository }}/releases/tags/Dashboard" | jq -r '.body // ""')
archs=(
"yacd|${yacd_version}|${yacd_time}"
"Yacd-meta|${yacd_meta_version}|${yacd_meta_time}"
"metacubexd|${metacubexd_version}|${metacubexd_time}"
"zashboard|${zashboard_version}|${zashboard_time}"
Expand All @@ -55,15 +52,6 @@ jobs:
echo "${var_name}=${value}" >> ${GITHUB_ENV}
done

- name: Download and compress `yacd` dashboard
if: ${{ env.yacd_skip_release != 'true' }}
run: |
mkdir -p ./Dashboard/ ./tmp/yacd/
curl -o ./tmp/yacd/gh-pages.zip -L https://github.com/haishanh/yacd/archive/gh-pages.zip
unzip -o ./tmp/yacd/gh-pages.zip -d ./tmp/yacd/
cd ./tmp/yacd/yacd-gh-pages/
tar -czf ../../../Dashboard/yacd.tar.gz *

- name: Download and compress `Yacd-meta` dashboard
if: ${{ env.Yacd_meta_skip_release != 'true' }}
run: |
Expand Down Expand Up @@ -110,7 +98,6 @@ jobs:
tag: Dashboard
overwrite: true
body: |
更新 [yacd 面板](https://github.com/haishanh/yacd)至 ${{ env.yacd_version }},发布于 ${{ env.yacd_time }}
更新 [Yacd-meta 面板](https://github.com/MetaCubeX/Yacd-meta)至 ${{ env.yacd_meta_version }},发布于 ${{ env.yacd_meta_time }}
更新 [metacubexd 面板](https://github.com/MetaCubeX/metacubexd)至 ${{ env.metacubexd_version }},发布于 ${{ env.metacubexd_time }}
更新 [zashboard 面板](https://github.com/Zephyruso/zashboard)至 ${{ env.zashboard_version }},发布于 ${{ env.zashboard_time }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-singbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
run: go build -v -trimpath -ldflags "-checklinkname=0 -X 'github.com/sagernet/sing-box/constant.Version=${ref1nd_main_VERSION}' -s -w -buildid=" -tags "${ref1nd_main_TAGS}" ./cmd/sing-box

- name: Upload files to workspace
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: sing-box-ref1nd-main-${{ matrix.name }}
path: sing-box*
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
run: go build -v -trimpath -ldflags "-checklinkname=0 -X 'github.com/sagernet/sing-box/constant.Version=${ref1nd_dev_VERSION}' -s -w -buildid=" -tags "${ref1nd_dev_TAGS}" ./cmd/sing-box

- name: Upload files to workspace
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: sing-box-ref1nd-dev-${{ matrix.name }}
path: sing-box*
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
run: go build -v -trimpath -ldflags "-checklinkname=0 -X 'github.com/sagernet/sing-box/constant.Version=${singbox_release_VERSION}' -s -w -buildid=" -tags "${singbox_release_TAGS}" ./cmd/sing-box

- name: Upload files to workspace
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: sing-box-release-${{ matrix.name }}
path: sing-box*
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
run: go build -v -trimpath -ldflags "-checklinkname=0 -X 'github.com/sagernet/sing-box/constant.Version=${singbox_dev_VERSION}' -s -w -buildid=" -tags "${singbox_dev_TAGS}" ./cmd/sing-box

- name: Upload files to workspace
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: sing-box-dev-${{ matrix.name }}
path: sing-box*
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
每天凌晨(北京时间 UTC+8)自动构建生成:
1. mihomo [Meta 版](https://github.com/MetaCubeX/mihomo/tree/Meta)和 [Alpha 版](https://github.com/MetaCubeX/mihomo/tree/Alpha)内核
2. sing-box [Release 版](https://github.com/SagerNet/sing-box/tree/main)、[Dev 版](https://github.com/SagerNet/sing-box/tree/dev)、[reF1nd-main 版](https://github.com/reF1nd/sing-box/tree/reF1nd-main)和 [reF1nd-dev 版](https://github.com/reF1nd/sing-box/tree/reF1nd-dev)(支持[提供者](https://sing-boxr.dustinwin.us.kg/zh/configuration/provider/) `providers`,类似于 mihomo 内核的[代理集合](https://wiki.metacubex.one/config/proxy-providers/) `proxy-providers`)
3. Dashboard 面板:[yacd 面板](https://github.com/haishanh/yacd)、[Yacd-meta 面板](https://github.com/MetaCubeX/Yacd-meta)、[metacubexd 面板](https://github.com/MetaCubeX/metacubexd)和 [zashboard 面板](https://github.com/Zephyruso/zashboard)
3. Dashboard 面板:[Yacd-meta 面板](https://github.com/MetaCubeX/Yacd-meta)、[metacubexd 面板](https://github.com/MetaCubeX/metacubexd)和 [zashboard 面板](https://github.com/Zephyruso/zashboard)
4. AdGuard Home [Release 版](https://github.com/AdguardTeam/AdGuardHome/tree/beta-v0.107)和 [Beta 版](https://github.com/AdguardTeam/AdGuardHome/tree/beta-v0.108)

**注:**
Expand Down Expand Up @@ -58,7 +58,6 @@ curl -o $CRASHDIR/CrashCore.upx -L https://ghfast.top/https://github.com/DustinW
**Dashboard 面板对应文件名和网址关系如下表:**
|面板名称|文件名|网址|
|-----|-----|-----|
|yacd 面板|`yacd.tar.gz`|<https://yacd.haishan.me>|
|Yacd-meta 面板|`Yacd-meta.tar.gz`|<https://yacd.metacubex.one>|
|metacubexd 面板|`metacubexd.tar.gz`|<https://metacubex.github.io/metacubexd/>|
|zashboard 面板|`zashboard.tar.gz`|<https://board.zash.run.place>|
Expand Down