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

Commit c831fb4

Browse files
Update main.yml
1 parent c855620 commit c831fb4

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@ jobs:
2929
python-version: 3.9
3030

3131
- name: Build Artifact
32+
env:
33+
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
34+
TWINE_USERNAME: __token__
3235
run: |
3336
python3 -m pip install build
37+
python3 -m pip install twine
3438
python3 -m build
39+
python3 -m twine upload --repository testpypi dist/*
3540
3641
- name: Upload a Build Artifact
3742
uses: actions/[email protected]
@@ -45,9 +50,9 @@ jobs:
4550
uses: actions/[email protected]
4651
with:
4752
path: dist/
48-
- name: pypi-publish
49-
uses: pypa/[email protected]
50-
with:
51-
user: __token__
52-
password: ${{ secrets.PYPI_TEST_TOKEN }}
53-
repository_url: https://test.pypi.org/project/discord-ui/
53+
# - name: pypi-publish
54+
# uses: pypa/[email protected]
55+
# with:
56+
# user: __token__
57+
# password: ${{ secrets.PYPI_TEST_TOKEN }}
58+
# repository_url: https://test.pypi.org/project/discord-ui/

0 commit comments

Comments
 (0)