From: Matthew Watkins Date: Tue, 3 Jun 2025 13:13:06 +0000 (+0100) Subject: Fix: Revert release.yaml Python build to TOX X-Git-Tag: v0.37.13^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;p=releng%2Flftools.git Fix: Revert release.yaml Python build to TOX 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 --- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f1410375..d3901a0a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,10 +21,9 @@ jobs: 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"