From 5a35d349a8a70737ed7c1d1ee9ec31d3b48ed195 Mon Sep 17 00:00:00 2001 From: zs Date: Sat, 28 Feb 2026 20:35:51 +0800 Subject: [PATCH] ci: publish extension to gitea releases --- .gitea/workflows/extension-build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/extension-build.yml b/.gitea/workflows/extension-build.yml index d540f95..dac034d 100644 --- a/.gitea/workflows/extension-build.yml +++ b/.gitea/workflows/extension-build.yml @@ -31,8 +31,12 @@ jobs: cd extension/dist zip -r ../../insight-reply-extension.zip . - - name: 上传构建产物 (Artifact) - uses: actions/upload-artifact@v4 + - name: 发布到 Gitea Release + uses: https://gitea.com/actions/release-action@main with: - name: insight-reply-extension - path: insight-reply-extension.zip + files: insight-reply-extension.zip + api_key: '${{secrets.GITEA_TOKEN}}' + name: 'Extension "Latest"' + tag_name: 'latest-extension' + draft: false + prerelease: true