Skip to content

Commit

Permalink
Separate publish instruction for GitHub Actions
Browse files Browse the repository at this point in the history
In pyscaffold/pyscaffold#535, I introduced optional arguments for `tox -e build`
and made `--wheel` the default.

Therefore the best is to separate the instructions for publishing in the
GitHub Actions template to prevent errors.
  • Loading branch information
abravalheri committed Nov 1, 2021
1 parent 84184e8 commit 09622f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m pip install --upgrade pip setuptools tox
python -m tox -e clean,build,publish -- --verbose --repository pypi
python -m tox -e clean,build
python -m tox publish -- --verbose --repository pypi

0 comments on commit 09622f5

Please sign in to comment.