Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PTNobel authored Aug 25, 2024
1 parent c111d50 commit ad7b8d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-24.04, macos-12, windows-2022 ]
os: [ ubuntu-latest ]
python-version: [ 3.9, "3.10", "3.11", "3.12" ]

steps:
Expand All @@ -67,11 +67,12 @@ jobs:
- name: build
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: |
pip install --upgrade build
python -m build
pip install wheel
python setup.py sdist bdist_wheel
- name: publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit ad7b8d8

Please sign in to comment.