mirror of
https://github.com/coleifer/peewee.git
synced 2026-05-06 07:56:41 -04:00
Publish wheels now that it is working
[skip ci]
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user