Revert "🐎 ci: 修复工作流"

This reverts commit f2935f3c1c.
This commit is contained in:
imsyy
2024-05-24 10:40:36 +08:00
parent 53c30caf00
commit d64cfb40ec

View File

@@ -47,14 +47,16 @@ jobs:
with:
name: SPlayer-dev
path: dist
# 自动生成标签
- name: Autotag
run: |
$tag = "v$(date +'%Y%m%d%H%M%S')"
git tag $tag
git push origin $tag
# 创建 GitHub Release
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref }}-rc
body: This version is still under development, currently only provides windows version, non-developers please do not use!
draft: false
prerelease: true
files: dist/*.exe