From 8746b851db1f5648965b1ceeb95df239621a7e68 Mon Sep 17 00:00:00 2001 From: medusa Date: Thu, 29 Aug 2024 14:07:12 +0800 Subject: [PATCH] fix error with 'GitHub Releases requires a tag' --- .github/workflows/build-nightly-cron.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-nightly-cron.yaml b/.github/workflows/build-nightly-cron.yaml index bfc86ed..f263d34 100644 --- a/.github/workflows/build-nightly-cron.yaml +++ b/.github/workflows/build-nightly-cron.yaml @@ -345,8 +345,8 @@ jobs: - name: Create Pre-release uses: softprops/action-gh-release@v2 with: - name: ${{ steps.filename.outputs.DATE_TIME }} - tag_name: ${{ steps.filename.outputs.DATE_TIME }} + name: ${{ needs.prepare.outputs.BUILD_DATE_TIME }} + tag_name: ${{ needs.prepare.outputs.BUILD_DATE_TIME }} prerelease: true body: | SPT: ***${{ needs.prepare.outputs.SPT_VERSION }}***