File tree Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments