Skip to content

Commit 86fdf19

Browse files
committed
more build fixes
1 parent 1c990f1 commit 86fdf19

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ jobs:
1818
with:
1919
python-version: '3.13'
2020

21-
- name: Set up virtual environment
21+
- name: Create virtual environment
2222
run: |
23-
python -m venv .venv
24-
source .venv/bin/activate
25-
26-
- name: Install dependencies
27-
run: .venv/bin/pip install -r requirements.txt
23+
python -m venv .venv
24+
# Use the correct Python interpreter
25+
.venv/bin/python -m pip install --upgrade pip
26+
.venv/bin/python -m pip install -r requirements.txt
2827
2928
- name: Build binary
3029
run: .venv/bin/python build.py
@@ -69,16 +68,14 @@ jobs:
6968
with:
7069
python-version: '3.13'
7170

72-
- name: Set up virtual environment
71+
- name: Create virtual environment
7372
run: |
74-
python -m venv .venv
75-
source .venv/bin/activate
76-
77-
- name: Install dependencies
78-
run: .venv/bin/pip install -r requirements.txt
73+
python -m venv .venv
74+
.venv\Scripts\python.exe -m pip install --upgrade pip
75+
.venv\Scripts\python.exe -m pip install -r requirements.txt
7976
8077
- name: Build binary
81-
run: .venv/bin/python build.py
78+
run: .venv\Scripts\python.exe build.py
8279

8380
- name: Install Inno Setup
8481
run: choco install innosetup -y

0 commit comments

Comments
 (0)