Skip to content

Commit

Permalink
Don't build twice
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jan 27, 2023
1 parent 7adc2fa commit 159b3e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ jobs:

- uses: hynek/build-and-inspect-python-package@v1

- name: Build package
run: |
python -m pip install -U build twine wheel
python -m build
- name: Download built packages
uses: actions/upload-artifact@v3
with:
name: Packages
path: dist

- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
*.pyc
.mypy_cache
.pytest_cache
.DS_Store
.cache
.coverage
Expand Down

0 comments on commit 159b3e5

Please sign in to comment.