Publish wheels now that it is working

[skip ci]
This commit is contained in:
Charles Leifer
2026-01-06 23:07:34 -06:00
parent ac82c4c08d
commit b4a8bcc3d7
+19 -20
View File
@@ -1,10 +1,9 @@
name: Build wheels
on: [push]
# on:
# push:
# tags:
# - "[0-9]+.[0-9]+.[0-9]+"
# - "[0-9]+.[0-9]+.[0-9]+-**"
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+-**"
jobs:
build:
@@ -32,17 +31,17 @@ jobs:
name: package
path: dist/peewee*
# publish:
# needs: [build]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v4
# with:
# name: package
# path: dist
# merge-multiple: true
#
# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
publish:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: package
path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}