chore(ci): add `pre-release` and `release` comment to task name

This commit is contained in:
郭桓桓 2023-03-03 20:02:07 +08:00
parent 229680ca85
commit 80ccac3dd1
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII
# - Pre-release
- name: GitHub Release
- name: GitHub Release (pre-release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
uses: softprops/action-gh-release@v1
with:
@ -56,7 +56,7 @@ jobs:
dist/*
build.tar.gz
# - Release
- name: GitHub Release
- name: GitHub Release (release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
uses: softprops/action-gh-release@v1
with: