Skip to content

Commit

Permalink
🐎 ci: 修复工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed May 10, 2024
1 parent d3e677d commit f2935f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,14 @@ 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
Expand Down

0 comments on commit f2935f3

Please sign in to comment.