ci: product win64 zip (wry) on build

This commit is contained in:
鲁树人
2025-07-05 04:17:54 +09:00
parent d81963ddcd
commit 2598b977ab
3 changed files with 11 additions and 3 deletions

View File

@@ -17,10 +17,14 @@ jobs:
- args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Build
run: pnpm build
- name: Prepare for deployment
- name: Pack Win64
run: |
python3 -m zipfile -c um-react.zip dist/.
./scripts/make-win64.sh
- name: Prepare for deployment
run: |
cp um-react.zip dist/"release-${GITHUB_SHA}.zip"
cp win64/dist/*.zip dist/"release-${GITHUB_SHA}-win64.zip"
python3 -m zipfile -c um-react-site.zip dist/.
- name: Publish Artifact
uses: christopherhx/gitea-upload-artifact@v4