chore(publish): improve release workflow by upgrading pip and clarifying trigger event

This commit is contained in:
sankalp committed 2025-08-25 16:23:33 +05:45
1 parent 6c51d04df4
commit 35fe36b189
1 file changed
+3 -3
+3 -3
View File
@@ -1,8 +1,8 @@
name: Python Package name: Publish Python Package
on: on:
release: release:
types: [created] # Trigger on release tag creation types: [created] # Trigger when a release is created
jobs: jobs:
build-and-publish: build-and-publish:
@@ -17,7 +17,7 @@ jobs:
with: with:
python-version: "3.10" python-version: "3.10"
- name: Install build tools - name: Upgrade pip and install build tools
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install build twine pip install build twine