Skip to content

Commit 3a09b3a

Browse files
authored
Update publish.yml (#13)
* Update publish.yml * Update publish.yml
1 parent a1c928b commit 3a09b3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
- name: Build wheel
3737
run: python -m pip wheel -w dist .
3838
- name: Check distribution
39-
run: twine check dist/*
39+
run: twine check dist/cpp_linter_hooks*
4040
- name: Publish package (to TestPyPI)
4141
if: github.event_name == 'workflow_dispatch' && github.repository == 'cpp-linter/cpp-linter-hooks'
4242
env:
4343
TWINE_USERNAME: __token__
4444
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
45-
run: twine upload --repository testpypi dist/*
45+
run: twine upload --repository testpypi dist/cpp_linter_hooks*
4646
- name: Publish package (to PyPI)
4747
if: github.event_name != 'workflow_dispatch' && github.repository == 'cpp-linter/cpp-linter-hooks'
4848
env:
4949
TWINE_USERNAME: __token__
5050
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
51-
run: twine upload dist/*
51+
run: twine upload dist/cpp_linter_hooks*

0 commit comments

Comments
 (0)