Skip to content

Commit

Permalink
搞不懂这个set-output怎么整,回退代码
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwxi committed Jun 7, 2024
1 parent c2fe911 commit f7a82dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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

Expand Down Expand Up @@ -117,4 +117,4 @@ jobs:
# uses: actions/upload-artifact@v4
# with:
# name: ${{ runner.os }}-all
# path: dist/*
# path: dist/*

0 comments on commit f7a82dc

Please sign in to comment.