From 6184eb914d1bbfbf90be90d428adf9d5a5421fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=81=E6=9C=88=E6=9F=92?= <108160987+MarSeventh@users.noreply.github.com> Date: Sun, 15 Sep 2024 12:35:55 +0800 Subject: [PATCH] Update webpack.yml --- .github/workflows/webpack.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index c254698..d6bca64 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -41,6 +41,11 @@ jobs: echo "commit_message=$(git log -1 --pretty=%B)" >> $GITHUB_ENV echo "release_date=$(date +"%Y-%m-%d")" >> $GITHUB_ENV + # 将 dist 文件夹打包成 zip + - name: Zip dist folder + run: | + zip -r dist-v1.0.${{ github.run_number }}.zip ./dist + # 创建 Release - name: Create GitHub Release id: create_release