From f7a82dc5ee1b6f3cc10b73ecf915b8d8f86b5f7e Mon Sep 17 00:00:00 2001 From: wxy Date: Sat, 8 Jun 2024 00:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9E=E4=B8=8D=E6=87=82=E8=BF=99=E4=B8=AAse?= =?UTF-8?q?t-output=E6=80=8E=E4=B9=88=E6=95=B4=EF=BC=8C=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c095ee1..6471483 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ jobs: - name: prepare tag id: prepare_tag run: | - TAGSTAMP=$(date +'%Y.%m.%dv3')-${RUNNER_OS} - echo "TAG=$TAGSTAMP" >> $$GITHUB_ENV + TAGSTAMP=$(date +'%Y.%m.%dv2')-${RUNNER_OS} + echo "TAG=$TAGSTAMP" >> $GITHUB_OUTPUT env: RUNNER_OS: ${{ runner.os }} @@ -32,8 +32,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: $TAG - release_name: Release $TAG + tag_name: ${{ steps.prepare_tag.outputs.TAG }} + release_name: Release ${{ steps.prepare_tag.outputs.TAG }} draft: false prerelease: false @@ -117,4 +117,4 @@ jobs: # uses: actions/upload-artifact@v4 # with: # name: ${{ runner.os }}-all - # path: dist/* + # path: dist/* \ No newline at end of file