Skip to content

Commit 0c03331

Browse files
committed
Fix release flags
1 parent 205e7cc commit 0c03331

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ jobs:
8080
SINGLESTOREDB_URL: "root:root@127.0.0.1:3306"
8181

8282
- name: Publish PyPI package
83-
if: ${{ (github.event_name == 'release' && github.event.release.action == 'published') || github.event.inputs.publish_pypi == 'true' }}
83+
if: ${{ github.event_name == 'release' || github.event.inputs.publish_pypi == 'true' }}
8484
env:
8585
TWINE_USERNAME: __token__
8686
TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
8787
run: |
8888
twine upload dist/*
8989
9090
- name: Publish Conda package
91-
if: ${{ (github.event_name == 'release' && github.event.release.action == 'published') || github.event.inputs.publish_anaconda == 'true' }}
91+
if: ${{ github.event_name == 'release' || github.event.inputs.publish_anaconda == 'true' }}
9292
env:
9393
PACKAGE_BUILD_NUMBER: ${{ github.event.inputs.build_number }}
9494
run: |

0 commit comments

Comments
 (0)