From bd79926d0865c26fb14d9ab1f885f5aaa124e55f Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Thu, 31 Oct 2024 17:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8ae76c2..c5f8a9c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,8 +33,11 @@ jobs: working-directory: WebIndex run: npm run build - - name: Upload build artifacts - uses: https://gitea.com/actions/upload-artifact@v4 - with: - name: vue-build - path: dist/ # Vue.js 默认构建输出目录 + - name: Compress build artifacts + run: | + mkdir -p artifacts + zip -r artifacts/build.zip WebIndex/dist/ + + - name: Create Release + use: https://gitea.com/actions/gitea-release-action@v1 + \ No newline at end of file