修复win构建
parent
41fc46c8b5
commit
3e31a78af1
|
@ -105,6 +105,9 @@ jobs:
|
||||||
- name: Install old electron
|
- name: Install old electron
|
||||||
run: npm install electron@22
|
run: npm install electron@22
|
||||||
|
|
||||||
|
- name: Install python setuptools
|
||||||
|
run: pip.exe install setuptools
|
||||||
|
|
||||||
- name: Build Package win7 7z x64
|
- name: Build Package win7 7z x64
|
||||||
run: npm run pack:win7:7z:x64
|
run: npm run pack:win7:7z:x64
|
||||||
- name: Upload Artifact win7 7z x64
|
- name: Upload Artifact win7 7z x64
|
||||||
|
@ -134,7 +137,7 @@ jobs:
|
||||||
- name: Check out git repository
|
- name: Check out git repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install python3 setuptools
|
- name: Install python setuptools
|
||||||
run: python3 -m pip install setuptools
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
|
|
|
@ -75,7 +75,17 @@ jobs:
|
||||||
npm run publish:win:7z:arm64
|
npm run publish:win:7z:arm64
|
||||||
npm run publish:win:setup:arm64
|
npm run publish:win:setup:arm64
|
||||||
npm run publish:win:setup:x64
|
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
|
npm install electron@22
|
||||||
|
pip.exe install setuptools
|
||||||
|
|
||||||
|
- name: Release win7 package
|
||||||
|
run: |
|
||||||
npm run publish:win7:7z:x64
|
npm run publish:win7:7z:x64
|
||||||
npm run publish:win7:7z:x86
|
npm run publish:win7:7z:x86
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue