Skip to content

Commit 5cbfb5c

Browse files
committed
bugfix: 回退Python版本到3.10以缓解node构建需要python包setuptools的问题
1 parent fad4112 commit 5cbfb5c

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ jobs:
4444
registry-url: https://npm.pkg.github.com/
4545
cache: pnpm
4646

47-
- name: Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setup tools
48-
if: matrix.os == 'macos'
47+
- name: Setup Python environment (For all systems) Because of electron-builder install-app-deps requires Python setup tools
4948
uses: actions/setup-python@v5
5049
with:
5150
python-version: "3.10"

.github/workflows/npm-run-electron.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
registry-url: https://npm.pkg.github.com/
4646
cache: pnpm
4747

48-
- name: Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setup tools
49-
if: matrix.os == 'macos'
48+
- name: Setup Python environment (For all systems) Because of electron-builder install-app-deps requires Python setup tools
5049
uses: actions/setup-python@v5
5150
with:
5251
python-version: "3.10"

.github/workflows/test-and-upload.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ jobs:
5757
registry-url: https://npm.pkg.github.com/
5858
cache: pnpm
5959

60-
- name: Setup Python environment (Mac) Because of electron-builder install-app-deps requires Python setup tools
61-
if: matrix.os == 'macos'
60+
- name: Setup Python environment (For all systems) Because of electron-builder install-app-deps requires Python setup tools
6261
uses: actions/setup-python@v5
6362
with:
6463
python-version: "3.10"

0 commit comments

Comments
 (0)