From 29322e08695c5138dd9cae9339c6c5162612c06e Mon Sep 17 00:00:00 2001 From: Wanxp <977741432@qq.com> Date: Sun, 9 Mar 2025 12:57:10 +0800 Subject: [PATCH] =?UTF-8?q?test=20=E5=A2=9E=E5=8A=A0=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-draft.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 5a99f9f..a90de4b 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -68,7 +68,9 @@ jobs: asset_path: ./main.js asset_name: main.js asset_content_type: application/javascript - + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ env.VERSION }} - name: Upload manifest.json uses: actions/upload-release-asset@v1 with: @@ -76,7 +78,9 @@ jobs: asset_path: ./manifest.json asset_name: manifest.json asset_content_type: application/json - + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ env.VERSION }} - name: Upload style.css uses: actions/upload-release-asset@v1 with: @@ -84,6 +88,8 @@ jobs: asset_path: ./style.css asset_name: style.css asset_content_type: text/css - + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ env.VERSION }} - name: Output release message run: echo "发布预发布版本${{ env.VERSION }}正常" \ No newline at end of file