Skip to content

Commit 31abc39

Browse files
committed
Add venv
1 parent 4ea1b9d commit 31abc39

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,17 @@ jobs:
4444
python --version
4545
4646
- name: Install build
47-
run: python -m pip install build
47+
run: |
48+
python --version
49+
python -m venv .venv
50+
.\venv/Scripts/activate
51+
python -m pip install build
4852
4953
- name: Build
5054
shell: cmd
51-
run: python -m build
55+
run: |
56+
.\venv/Scripts/activate
57+
python -m build
5258
5359
- name: Upload artifacts
5460
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)