Skip to content

Commit

Permalink
update databricks workflow, set publish package only in case the tag …
Browse files Browse the repository at this point in the history
…have been pushed
  • Loading branch information
serhio-k committed Oct 24, 2024
1 parent 93e4060 commit 63aa9a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/databricks-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
pip install build
python -m build .
- name: Publish package
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit 63aa9a9

Please sign in to comment.