Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhumber authored May 24, 2022
1 parent b1942b4 commit 06a5a4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload Python Package
name: Upload to PyPI
on:
release:
types: [published]
Expand All @@ -17,6 +17,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Install build dependencies
run: pip install build
- name: Run tests
run: python -m unittest
- name: Build package
Expand All @@ -26,4 +28,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 06a5a4e

Please sign in to comment.