Skip to content

Commit d6807f6

Browse files
committed
py: see if we can build multiple Python versions in Windows
1 parent bfcba4b commit d6807f6

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- py-*
77

88
jobs:
9-
Unix:
9+
All:
1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest, macos-latest]
12+
os: [ubuntu-latest, macos-latest, windows-latest]
1313
python: ["3.8", "3.9", "3.10", "3.11"]
1414

1515
runs-on: ${{ matrix.os }}
@@ -34,22 +34,3 @@ jobs:
3434
--username __token__
3535
--password ${{ secrets.PYPI_TOKEN }}
3636
--interpreter python${{ matrix.python }}
37-
38-
Windows:
39-
runs-on: windows-latest
40-
environment: "Publish wheels"
41-
42-
steps:
43-
- uses: actions/checkout@v2
44-
- uses: actions-rs/toolchain@v1
45-
with:
46-
profile: minimal
47-
toolchain: stable
48-
override: true
49-
- name: Publish all versions
50-
uses: messense/maturin-action@v1
51-
with:
52-
command: publish
53-
args: -m instant-distance-py/Cargo.toml
54-
--username __token__
55-
--password ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)