Reverts a change originally made in:
https://gerrit.linuxfoundation.org/infra/c/releng/lftools/+/73482
The new python-build-action has some unresolved issues when Python
versioning is set to dynamic. Until those are addressed, we are
blocked on tagging/releasing lftools.
Change-Id: Ice09adcbad4a58dda48770a53a2d5c9cd2754696
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.8"
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.8"
- - name: 'Build Python project'
- id: python-build
- # yamllint disable-line rule:line-length
- uses: lfreleng-actions/python-build-action@a9d0ef8a2324ac76e798ad6dc306f08b83b5b213 # v0.1.11
+ - name: Build package distribution files
+ run: >-
+ pipx run tox -e clean,build
- name: Configure TWINE
run: |
echo "TWINE_USERNAME=__token__" >> "$GITHUB_ENV"
- name: Configure TWINE
run: |
echo "TWINE_USERNAME=__token__" >> "$GITHUB_ENV"