From 8f01bf6027b868cbaca6ae9f18a70370920a32a2 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Fri, 6 Sep 2024 21:12:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2ba73f5..56b5a0f 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -109,6 +109,8 @@ jobs: else echo "::set-output name=release_exists::true" fi + env: + GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} - name: Create release id: create_release if: steps.check_if_release_exists.outputs.release_exists == 'false' @@ -123,7 +125,6 @@ jobs: gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*.{zip,tar.xz} env: GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} - - name: Update release if: steps.check_if_release_exists.outputs.release_exists == 'true' run: |