Skip to content

Commit 4ea1b9d

Browse files
committed
Remove versions duplicate
1 parent 8359ddf commit 4ea1b9d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 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, 3.8], [39, 3.9], [310, 3.10], [311, 3.11], [312, 3.12], [313, 3.13]]
19+
python-versions: [38, 39, 310, 311, 312, 313]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -38,17 +38,17 @@ jobs:
3838
3939
- name: Install Python
4040
run: |
41-
choco install python${{ matrix.python-versions[0] }} -y
41+
choco install python${{ matrix.python-versions }} -y
4242
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
4343
refreshenv
4444
python --version
4545
4646
- name: Install build
47-
run: python${{ matrix.python-versions[1] }} -m pip install build
47+
run: python -m pip install build
4848

4949
- name: Build
5050
shell: cmd
51-
run: python${{ matrix.python-versions[1] }} -m build
51+
run: python -m build
5252

5353
- name: Upload artifacts
5454
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)