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