This commit is contained in:
snltty
2025-10-24 12:03:20 +08:00
parent 51155ef1f8
commit 20abf3659c
3 changed files with 39 additions and 1 deletions

36
.github/workflows/sponsor.yml vendored Normal file
View File

@@ -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 }}

View File

@@ -76,6 +76,8 @@
若此项目对您有用,可以考虑对作者稍加支持,让作者更有动力,在项目上投入更多时间和精力
<img src="https://github.com/snltty/linker/raw/refs/heads/out/sponsor/afdian-sponsor.svg" alt="sponsor">
<details>
<summary><strong>感谢名单</strong></summary>
<div>

View File

@@ -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优化