From 20abf3659cbeed87a3c7758044aaf038b46f6552 Mon Sep 17 00:00:00 2001 From: snltty <1069410172@qq.com> Date: Fri, 24 Oct 2025 12:03:20 +0800 Subject: [PATCH] sync --- .github/workflows/sponsor.yml | 36 +++++++++++++++++++++++++++++++++++ README.md | 2 ++ version.txt | 2 +- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sponsor.yml diff --git a/.github/workflows/sponsor.yml b/.github/workflows/sponsor.yml new file mode 100644 index 00000000..214e35be --- /dev/null +++ b/.github/workflows/sponsor.yml @@ -0,0 +1,36 @@ +name: Sponsor Generation + +on: + schedule: + - cron: "0 */24 * * *" + workflow_dispatch: + push: + +jobs: + generate: + permissions: + contents: write + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: Checkout code + uses: actions/checkout@v5 + + - name: Create dist directory + run: mkdir dist + + - name: Run afdian-sponsor action + uses: Sn0wo2/afdian-sponsor@v1 + env: + AFDIAN_USER_ID: ${{ secrets.AFDIAN_USER_ID }} + AFDIAN_API_TOKEN: ${{ secrets.AFDIAN_API_TOKEN }} + AFDIAN_OUTPUT: "./dist/afdian-sponsor.svg" + + - name: Push afdian-sponsor-svg to the out/sponsor branch + uses: crazy-max/ghaction-github-pages@v4 + with: + target_branch: out/sponsor + build_dir: dist + commit_message: "ci(sponsor): deploy" + env: + GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 1bba52c0..b025e2f9 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ 若此项目对您有用,可以考虑对作者稍加支持,让作者更有动力,在项目上投入更多时间和精力 + + 感谢名单 diff --git a/version.txt b/version.txt index 253f3798..1b41f517 100644 --- a/version.txt +++ b/version.txt @@ -1,5 +1,5 @@ v1.9.4 -2025-10-24 11:13:18 +2025-10-24 12:03:20 1. 一些累计更新,一些BUG修复 2. 虚拟网卡TCP转代理,为TCP隧道提速 3. 一些UI优化