Fix: Revert release.yaml Python build to TOX 92/73492/2 master v0.37.13
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 3 Jun 2025 13:13:06 +0000 (14:13 +0100)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 3 Jun 2025 13:17:58 +0000 (14:17 +0100)
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>
.github/workflows/release.yaml

index f141037..d3901a0 100644 (file)
@@ -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"