Skip to content

Commit 1f35850

Browse files
authored
remove unnecesary code
1 parent 5eb170b commit 1f35850

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/python-publish.yml

+3-22
Original file line numberDiff line numberDiff line change
@@ -35,37 +35,18 @@ jobs:
3535

3636

3737
- name: Publish distribution 📦 to Test PyPI
38+
if: startsWith(github.ref, 'refs/tags')
3839
run: |
39-
#python --version
40-
#auditwheel repair dist/aurorafusion*.whl
4140
twine upload --repository testpypi wheelhouse/* --verbose
42-
#twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
4341
env:
4442
TWINE_USERNAME: __token__
4543
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
46-
#- name: Publish distribution 📦 to Test PyPI
47-
#if: startsWith(github.ref, 'refs/tags')
48-
#uses: pypa/gh-action-pypi-publish@release/v1
49-
50-
# with:
51-
# password: ${{ secrets.TEST_PYPI_PASSWORD }}
52-
# repository-url: https://test.pypi.org/legacy/
53-
# attestations: false
54-
# Add verbose flag here
55-
#extra_args: "--verbose"
56-
#- name: Publish distribution 📦 to PyPI
57-
#if: startsWith(github.ref, 'refs/tags')
58-
# uses: pypa/gh-action-pypi-publish@release/v1
59-
# with:
60-
# password: ${{ secrets.PYPI_PASSWORD }}
61-
44+
6245

6346
- name: Publish distribution 📦 to PyPI
47+
if: startsWith(github.ref, 'refs/tags')
6448
run: |
65-
#python --version
66-
#auditwheel repair dist/aurorafusion*.whl
6749
twine upload wheelhouse/* --verbose
68-
#twine upload --repository-url https://pypi.org/legacy/ dist/* --verbose
6950
env:
7051
TWINE_USERNAME: __token__
7152
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)