Skip to content

Commit 9d31afe

Browse files
committed
Add push as a triger and comment out publish code
1 parent f095902 commit 9d31afe

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Upload Python Package
22

33
on:
44
workflow_dispatch:
5+
push:
56
release:
67
types: [published]
78

@@ -53,11 +54,11 @@ jobs:
5354
# run: |
5455
# set -eux
5556
# uv publish
56-
- name: Publish to TestPyPI
57-
if: ${{github.event_name == 'workflow_dispatch'}}
58-
shell: bash
59-
env:
60-
UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
61-
run: |
62-
set -eux
63-
uv publish --publish-url https://test.pypi.org/legacy/ --token $UV_PUBLISH_TOKEN
57+
# - name: Publish to TestPyPI
58+
# if: ${{github.event_name == 'workflow_dispatch'}}
59+
# shell: bash
60+
# env:
61+
# UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
62+
# run: |
63+
# set -eux
64+
# uv publish --publish-url https://test.pypi.org/legacy/ --token $UV_PUBLISH_TOKEN

0 commit comments

Comments
 (0)