chore(publish): improve release workflow by upgrading pip and clarifying trigger event
This commit is contained in:
1 file changed
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user