Skip to content

Commit 63caef5

Browse files
committed
Specify python version
1 parent 804604b commit 63caef5

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: windows-latest
1717
strategy:
1818
matrix:
19-
python-versions: [38, 39, 310, 311, 312, 313]
19+
python-versions: [[38, 3.8], [39, 3.9], [310, 3.10], [311, 3.11], [312, 3.12], [313, 3.13]]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -37,16 +37,14 @@ jobs:
3737
mv ../includeFaceSDK ./include
3838
3939
- name: Install Python
40-
run: |
41-
choco install python${{ matrix.python-versions }} -y
42-
refreshenv
40+
run: choco install python${{ matrix.python-versions[0] }} -y
4341

4442
- name: Install build
45-
run: pip install build
43+
run: python${{ matrix.python-versions[1] }} -m pip install build
4644

4745
- name: Build
4846
shell: cmd
49-
run: python -m build
47+
run: python${{ matrix.python-versions[1] }} -m build
5048

5149
- name: Upload artifacts
5250
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)