Skip to content

Commit a5f77c8

Browse files
authored
Merge pull request #120 from tushushu/wip-fix-win-ci
Wip fix win publish
2 parents bd348b5 + 07c5628 commit a5f77c8

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version: ['3.7', '3.8', '3.9', '3.10']
17-
os: [ubuntu-latest, macos-latest]
17+
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- uses: actions/checkout@v2
@@ -34,32 +34,6 @@ jobs:
3434
env:
3535
PYPI_PW: ${{ secrets.PYPI_PW }}
3636
PYTHON_VER: python${{ matrix.python-version }}
37+
shell: bash
3738
run: |
3839
maturin publish -m ulist/Cargo.toml -u tushushu -p $PYPI_PW -i $PYTHON_VER
39-
40-
maturin-win:
41-
strategy:
42-
matrix:
43-
python-version: ['3.7', '3.8', '3.9', '3.10']
44-
os: [windows-latest]
45-
runs-on: ${{ matrix.os }}
46-
steps:
47-
- uses: actions/checkout@v2
48-
- uses: actions/setup-python@v2
49-
with:
50-
python-version: ${{ matrix.python-version }}
51-
- name: Install Rust toolchain
52-
uses: actions-rs/toolchain@v1
53-
with:
54-
toolchain: stable
55-
profile: minimal
56-
default: true
57-
- name: Install Python packages
58-
run: |
59-
pip install maturin
60-
- name: Publish ulist
61-
env:
62-
PYPI_PW: ${{ secrets.PYPI_PW }}
63-
PYTHON_VER: python${{ matrix.python-version }}
64-
run: |
65-
maturin publish -m ulist\Cargo.toml -u tushushu -p $PYPI_PW -i $PYTHON_VER

0 commit comments

Comments
 (0)