Action: Update wheel workflow

This commit is contained in:
Inada Naoki 2023-03-09 00:47:52 +09:00
parent 4c55f809fe
commit 35b2d246cf

View file

@ -8,7 +8,7 @@ jobs:
build_wheels:
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-10.15]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
name: Build wheels on ${{ matrix.os }}
@ -48,10 +48,3 @@ jobs:
with:
name: Wheels
path: wheelhouse
- name: Publish Wheels to PyPI
if: github.event_name == 'create' && github.event.ref_type == 'tag'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: wheelhouse
password: ${{ secrets.PYPI_API_TOKEN }}