Skip to content

Commit

Permalink
Fix workflow create-release
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Feb 1, 2024
1 parent 1e9ce94 commit 046f631
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/update-best-of-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: "Update: ${{ env.VERSION }}"
body_path: "latest-changes.md"
draft: true
prerelease: false
TAG_NAME: ${{ env.VERSION }}
RELEASE_NAME: "Update: ${{ env.VERSION }}"
run: |
echo "RELEASE_TAG_NAME=${{ env.VERSION }}" >> $GITHUB_ENV
echo "RELEASE_NAME=Update: ${{ env.VERSION }}" >> $GITHUB_ENV
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
echo "RELEASE_NAME=${RELEASE_NAME}" >> $GITHUB_ENV
echo "::group::Creating Release"
echo "::endgroup::"

0 comments on commit 046f631

Please sign in to comment.