diff --git a/.github/workflows/update-best-of-list.yml b/.github/workflows/update-best-of-list.yml index a880ec1..6d7e9cd 100644 --- a/.github/workflows/update-best-of-list.yml +++ b/.github/workflows/update-best-of-list.yml @@ -69,12 +69,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: create-release + uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: ${{ env.VERSION }} - RELEASE_NAME: "Update: ${{ env.VERSION }}" - run: | - echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV - echo "RELEASE_NAME=${RELEASE_NAME}" >> $GITHUB_ENV - echo "::group::Creating Release" - echo "::endgroup::" + with: + tag_name: ${{ env.VERSION }} + release_name: "Update: ${{ env.VERSION }}" + body_path: "latest-changes.md" + draft: true + prerelease: false