Skip to content

Commit

Permalink
ci(pypi-release.yml): add build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dobizz committed Nov 5, 2023
1 parent 2be361d commit 81b0756
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build

# publish to test pypi repo
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 81b0756

Please sign in to comment.