Skip to content

Commit f4edd22

Browse files
chore(workflow): switch dist upload to zip
1 parent 9b7113e commit f4edd22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,14 @@ jobs:
6767
- name: Install GitHub CLI
6868
run: sudo apt-get install gh -y
6969

70+
- name: Zip dist folder
71+
run: zip -r dist.zip dist
72+
7073
- name: Create GitHub release
7174
if: steps.check.outputs.version_equal == 'true'
7275
run: |
7376
gh release create "v${{ steps.check.outputs.new_version }}" \
74-
dist/* \
77+
dist.zip \
7578
--title "v${{ steps.check.outputs.new_version }}"
7679
env:
7780
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)