fix github action
This commit is contained in:
parent
9811334834
commit
41603bc837
2 changed files with 5 additions and 3 deletions
6
.github/workflows/all.yml
vendored
6
.github/workflows/all.yml
vendored
|
|
@ -5,6 +5,8 @@ on:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
|
|
@ -201,8 +203,8 @@ jobs:
|
||||||
needs: [build-windows, build-ubuntu, build-macos]
|
needs: [build-windows, build-ubuntu, build-macos]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Upload wheels to PyPI"
|
name: "Upload wheels to PyPI"
|
||||||
# if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
# if: startsWith(github.ref, 'refs/tags/v')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "0.0.2"
|
__version__ = "0.0.3"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue