Skip to content

Commit

Permalink
chore: Update package.yml workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
joancipria committed Sep 6, 2024
1 parent a410918 commit 5ec2025
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Python Package Build and Publish
on:
push:
tags:
- "v*" # Run the workflow when pushing a new tag
workflow_dispatch: # Allows manual triggering of the workflow
- "v*"
workflow_dispatch:

jobs:
build:
Expand All @@ -17,17 +17,20 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x" # You can specify your desired Python version
python-version: "3.x"

- name: Install build tools
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine
python -m pip install setuptools wheel
- name: Build the package
run: |
python setup.py sdist bdist_wheel
- name: Check dist folder
run: ls -l dist

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5ec2025

Please sign in to comment.