CI: verify package metadata on all builds.
This commit is contained in:
parent
841ab94a76
commit
0eac9c3fd0
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
|
@ -168,6 +168,10 @@ jobs:
|
|||
with:
|
||||
name: code
|
||||
path: dist/
|
||||
- name: Verify package metadata
|
||||
run: |
|
||||
pip install twine
|
||||
twine check dist/*
|
||||
- name: Publish package to Test PyPI
|
||||
if: ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
|
Loading…
Reference in a new issue