From 3f1f73c8ee2f2a8339214493077035ffc50aa447 Mon Sep 17 00:00:00 2001 From: xiehaijun Date: Mon, 28 Jul 2025 17:11:07 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/demo.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 发布生产 --- .gitea/workflows/demo.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 66fb254..8b06aed 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -333,11 +333,12 @@ jobs: TAG_NAME="${GITHUB_REF##*/}" echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT + echo "标签名称:$TAG_NAME" - name: Create Gitea Release id: create_release - run: | + run: | #API接口:https://git.ewancle.com/api/swagger和https://docs.gitea.com/zh-cn/development/api-usage response=$(curl -s -X POST "${GITEA_API_URL}/repos/${GITEA_USER1}/${GITEA_REPO1}/releases" \ - -H "Authorization: token ${{ secrets.MY_APP_TOKEN }}" \ + -H "Authorization: token a94110b4fa993133ceb0e04fdabfd70626e02405" \ -H "Content-Type: application/json" \ -d @- <