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" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
|
|
@ -201,8 +203,8 @@ jobs:
|
|||
needs: [build-windows, build-ubuntu, build-macos]
|
||||
runs-on: ubuntu-latest
|
||||
name: "Upload wheels to PyPI"
|
||||
# if: github.event_name == 'release' && github.event.action == 'published'
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
# if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = "0.0.2"
|
||||
__version__ = "0.0.3"
|
||||
|
|
|
|||
Loading…
Reference in a new issue