Skip to content

Commit c226d40

Browse files
committed
build: Add stages to build the package
1 parent b19c003 commit c226d40

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ jobs:
4949
permissions:
5050
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
5151
steps:
52-
# retrieve your distributions here
53-
52+
- uses: actions/checkout@v3
53+
- name: Set up Python
54+
uses: actions/setup-python@v3
55+
with:
56+
python-version: '3.x'
57+
- name: Install build dependencies
58+
run: python -m pip install --upgrade pip setuptools wheel
59+
- name: Build package
60+
run: python setup.py sdist bdist_wheel
5461
- name: Publish package
5562
env:
5663
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}

0 commit comments

Comments
 (0)