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:
|
||||
release:
|
||||
types: [created] # Trigger on release tag creation
|
||||
types: [created] # Trigger when a release is created
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install build tools
|
||||
- name: Upgrade pip and install build tools
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build twine
|
||||
|
||||
Reference in new issue
Block a user