Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 1167c4a

Browse files
Update main.yml
1 parent 517e0b4 commit 1167c4a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,23 @@ jobs:
2727
uses: actions/[email protected]
2828
with:
2929
python-version: 3.9
30-
30+
- name: Install Packages
31+
run: |
32+
python3 -m pip install build
33+
python3 -m pip install twine
3134
- name: Build Artifact
3235
env:
3336
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
3437
TWINE_USERNAME: __token__
3538
run: |
36-
python3 -m pip install build
37-
python3 -m pip install twine
3839
python3 -m build
39-
python3 -m twine upload --repository testpypi dist/*
4040
41+
- name: Upload Artifact to PyPI
42+
env:
43+
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
44+
TWINE_USERNAME: __token__
45+
run: |
46+
python3 -m twine upload --repository testpypi dist/*
4147
- name: Upload a Build Artifact
4248
uses: actions/[email protected]
4349
with:

0 commit comments

Comments
 (0)