1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

chore(ci): upload tar.gz file instead of .zip that no longer exists

This commit is contained in:
2023-03-03 20:00:07 +08:00
parent c77fbd21ae
commit e3fcf96559

View File

@ -54,7 +54,7 @@ jobs:
prerelease: true prerelease: true
files: | files: |
dist/* dist/*
build.zip build.tar.gz
# - Release # - Release
- name: GitHub Release - name: GitHub Release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
@ -63,11 +63,6 @@ jobs:
prerelease: false prerelease: false
files: | files: |
dist/* dist/*
build.zip build.tar.gz
- name: Add Latest Tag
uses: cardinalby/git-tag-action@master
env:
TAG: Latest
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Authored by @kuohuanhuan. # Authored by @kuohuanhuan.