Skip to content

Commit f70d12a

Browse files
rearrange
1 parent c8494a5 commit f70d12a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish_release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ jobs:
2929
run: |
3030
python -m build
3131
32-
- name: Publish package to PyPI
33-
if: success()
34-
env:
35-
TWINE_USERNAME: __token__
36-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
37-
run: |
38-
twine upload dist/*
39-
4032
- name: Create a release
4133
id: create_release
4234
env:
@@ -46,3 +38,11 @@ jobs:
4638
-t "Release $GITHUB_REF_NAME" \
4739
-F CHANGELOG \
4840
./dist/*
41+
42+
- name: Publish package to PyPI
43+
if: success()
44+
env:
45+
TWINE_USERNAME: __token__
46+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
47+
run: |
48+
twine upload dist/*

0 commit comments

Comments
 (0)