Skip to content

Commit

Permalink
fix order of github action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
vzickner committed Nov 7, 2023
1 parent a3a7383 commit 304d2c9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Set up Python 3.12.0
uses: actions/setup-python@v4
with:
Expand All @@ -26,5 +22,7 @@ jobs:
- run: pip install setuptools
- run: python setup.py sdist
- run: pip wheel . -w dist
- run: python -m pip install --upgrade twine
- run: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- name: Publish package distributions to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit 304d2c9

Please sign in to comment.