From 001853d3f55d2361bc37cd4bda06cae08e39b5ad Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Fri, 5 Dec 2025 17:34:12 +0800 Subject: [PATCH] ci: ci fix --- .github/workflows/release.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1eb3fb4..e4a42ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,13 +46,20 @@ jobs: - name: Create source code archive run: | - tar -czf source-code.tar.gz \ - --exclude='.git' \ - --exclude='node_modules' \ - --exclude='dist-prod' \ - --exclude='dist-file-prod' \ - --exclude='*.tar.gz' \ - . + mkdir -p temp_source + cp -r .git temp_source/.git + cp -r src temp_source/src + cp -r public temp_source/public + cp -r .github temp_source/.github + cp package.json temp_source/ + cp vite.config.ts temp_source/ + cp tsconfig.json temp_source/ + cp tsconfig.node.json temp_source/ + cp index.html temp_source/ + cp README.md temp_source/ + cp Dockerfile temp_source/ + tar -czf source-code.tar.gz -C temp_source . + rm -rf temp_source - name: Create production build archive run: |