Skip to content

Commit 5ccfcb4

Browse files
committed
fixed workflow
1 parent 8a1898f commit 5ccfcb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
pip install pytest
3232
pip install pytest-cov
3333
pytest ./tests/tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
34+
- name: Install pypa/build
35+
run: >-
36+
python -m
37+
pip install
38+
build
39+
--user
3440
- name: Build a binary wheel and a source tarball
3541
run: >-
3642
python -m
@@ -44,7 +50,6 @@ jobs:
4450
password: ${{ secrets.testpypi_password }}
4551
repository_url: https://test.pypi.org/legacy/
4652
- name: Publish distribution 📦 to PyPI
47-
#if: startsWith(github.ref, 'refs/tags/v')
4853
uses: pypa/gh-action-pypi-publish@master
4954
with:
5055
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)