Skip to content

Commit c762b31

Browse files
committed
fix(ci): pin pypi-publish to release/v1 SHA and clean up debug steps
1 parent 6b42ca7 commit c762b31

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,8 @@ jobs:
2727
run: pip install --upgrade build hatchling # NOSONAR - trusted packages
2828

2929
- name: Build package
30-
run: python -m build --verbose
31-
- name: Debug dist contents
32-
run: |
33-
ls -la dist/
34-
python -m zipfile -l dist/*.whl
35-
- name: Verify wheel metadata
36-
run: |
37-
python -m zipfile -l dist/*.whl
38-
python -m zipfile -e dist/*.whl /tmp/wheel_extracted
39-
cat /tmp/wheel_extracted/*/METADATA | head -20
40-
30+
run: python -m build
4131
- name: Publish to PyPI
42-
uses: pypa/gh-action-pypi-publish@release/v1
32+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
4333
with:
4434
verify-metadata: false

0 commit comments

Comments
 (0)