Skip to content

Commit

Permalink
修复win构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Nov 11, 2023
1 parent 41fc46c commit 3e31a78
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/beta-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
- name: Install old electron
run: npm install electron@22

- name: Install python setuptools
run: pip.exe install setuptools

- name: Build Package win7 7z x64
run: npm run pack:win7:7z:x64
- name: Upload Artifact win7 7z x64
Expand Down Expand Up @@ -134,7 +137,7 @@ jobs:
- name: Check out git repository
uses: actions/checkout@v3

- name: Install python3 setuptools
- name: Install python setuptools
run: python3 -m pip install setuptools

- name: Install Node.js
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,17 @@ jobs:
npm run publish:win:7z:arm64
npm run publish:win:setup:arm64
npm run publish:win:setup:x64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BT_TOKEN: ${{ secrets.BT_TOKEN }}

- name: Prepare win7 electron env
run: |
npm install electron@22
pip.exe install setuptools
- name: Release win7 package
run: |
npm run publish:win7:7z:x64
npm run publish:win7:7z:x86
env:
Expand Down

0 comments on commit 3e31a78

Please sign in to comment.