mirror of
https://github.com/imsyy/SPlayer.git
synced 2025-11-25 11:29:26 +08:00
🐎 ci: 修复构建工作流
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -47,6 +47,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: SPlayer-dev
|
name: SPlayer-dev
|
||||||
path: dist
|
path: dist
|
||||||
|
# 自动生成标签
|
||||||
|
- name: Autotag
|
||||||
|
run: |
|
||||||
|
$tag = "v$(date +'%Y%m%d%H%M%S')"
|
||||||
|
git tag $tag
|
||||||
|
git push origin $tag
|
||||||
# 创建 GitHub Release
|
# 创建 GitHub Release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user