[3.12] Some tidying for GitHub Actions (GH-154950) (#154998)

hugovk <[email protected]> Fri, 31 Jul 2026 11:18:29 -0400 (EDT)
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/63014715992959c736c6ae57b375e961fac8d87d
commit: 63014715992959c736c6ae57b375e961fac8d87d
branch: 3.12
author: Stefano Rivera <[email protected]>
committer: hugovk <[email protected]>
date: 2026-07-31T15:18:14Z
summary:

[3.12] Some tidying for GitHub Actions (GH-154950) (#154998)

files:
M .github/workflows/reusable-tsan.yml
M .github/workflows/reusable-ubuntu.yml
M .github/workflows/reusable-windows.yml

diff --git a/.github/workflows/reusable-tsan.yml b/.github/workflows/reusable-tsan.yml
index e11cc58f815c412..595e636bd05d75c 100644
--- a/.github/workflows/reusable-tsan.yml
+++ b/.github/workflows/reusable-tsan.yml
@@ -43,7 +43,7 @@ jobs:
     - name: TSAN option setup
       run: |
         echo "TSAN_OPTIONS=log_path=${GITHUB_WORKSPACE}/tsan_log suppressions=${GITHUB_WORKSPACE}/Tools/tsan/suppressions${{
-            fromJSON(inputs.free-threading)
+            inputs.free-threading
             && '_free_threading'
             || ''
           }}.txt" >> "$GITHUB_ENV"
@@ -63,7 +63,7 @@ jobs:
         --config-cache
         --with-thread-sanitizer
         --with-pydebug
-        ${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
+        ${{ inputs.free-threading && '--disable-gil' || '' }}
     - name: Build CPython
       run: make -j4
     - name: Display build info
diff --git a/.github/workflows/reusable-ubuntu.yml b/.github/workflows/reusable-ubuntu.yml
index 61afb38e77d9170..8c37297f8cc4cef 100644
--- a/.github/workflows/reusable-ubuntu.yml
+++ b/.github/workflows/reusable-ubuntu.yml
@@ -82,7 +82,7 @@ jobs:
         --config-cache
         --with-pydebug
         --with-openssl="$OPENSSL_DIR"
-        ${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
+        ${{ inputs.free-threading && '--disable-gil' || '' }}
     - name: Build CPython out-of-tree
       working-directory: ${{ env.CPYTHON_BUILDDIR }}
       run: make -j4
diff --git a/.github/workflows/reusable-windows.yml b/.github/workflows/reusable-windows.yml
index 6c2b016a2c61c0d..e26674164907ad9 100644
--- a/.github/workflows/reusable-windows.yml
+++ b/.github/workflows/reusable-windows.yml
@@ -40,7 +40,7 @@ jobs:
         .\\PCbuild\\build.bat
         -e -d
         -p "${ARCH}"
-        ${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
+        ${{ inputs.free-threading && '--disable-gil' || '' }}
       shell: bash
     - name: Display build info
       if: inputs.arch != 'arm64'

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]