mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
chore(ci): add pre-release
and release
comment to task name
This commit is contained in:
parent
229680ca85
commit
80ccac3dd1
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user