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
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 2 additions and 7 deletions

View File

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