We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bf23f2 commit c9c5ed1Copy full SHA for c9c5ed1
1 file changed
.github/workflows/release_package.yml
@@ -51,10 +51,17 @@ jobs:
51
pip install build twine
52
53
- name: Build package
54
- run: python -m build
+ run: |
55
+ rm -rf dist/ build/ *.egg-info
56
+ python -m build
57
58
- name: Upload to TestPyPI
- run: ./scripts/upload_testpypi.sh
59
60
+ twine upload \
61
+ --repository-url https://test.pypi.org/legacy/ \
62
+ -u __token__ \
63
+ -p "$TEST_PYPI_API_TOKEN" \
64
+ dist/*
65
env:
66
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
67
@@ -65,6 +72,10 @@ jobs:
72
python -c "import pytest_htmlx; print(pytest_htmlx.__version__)"
73
74
- name: Publish to PyPI
68
- run: ./scripts/upload_pypi.sh
75
76
77
78
+ -p "$PYPI_API_TOKEN" \
79
69
80
70
81
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments