File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1313 workflow_dispatch :
1414
1515jobs :
16- update-alpha-release :
16+ update-alpha-tag :
1717 runs-on : ubuntu-latest
1818 permissions :
1919 contents : write
2020 steps :
2121 - name : Checkout repository
2222 uses : actions/checkout@v4
23- with :
24- fetch-depth : 0 # 获取完整历史以便操作标签
2523
26- - name : Delete existing alpha release
27- run : |
28- # 删除现有的alpha release和关联的tag
29- echo "Deleting existing alpha release and tag..."
30- gh release delete alpha --yes --cleanup-tag || echo "No existing alpha release found"
24+ - name : Update alpha tag
25+ uses : richardsimko/update-tag@v1
26+ with :
27+ tag_name : alpha
3128 env :
3229 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3430
3531 build-and-release :
36- needs : update-alpha-release
32+ needs : update-alpha-tag
3733 permissions :
3834 contents : write
3935 strategy :
You can’t perform that action at this time.
0 commit comments