Skip to content

Commit

Permalink
Change order of steps in Upload Python Package workflow (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Dec 14, 2023
1 parent 74be4c5 commit 986b9a5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
with:
python-version: "3.x"

- name: Verify version
run: |
[[ "$(python3 setup.py --version)" == "${{ github.event.release.tag_name }}" ]]
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Verify version
run: |
[[ "$(python3 setup.py --version)" == "${{ github.event.release.tag_name }}" ]]
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit 986b9a5

Please sign in to comment.