From 3957279a2ce18f336538b34d6a237083878e16e2 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Thu, 1 Aug 2024 16:14:22 +0200 Subject: [PATCH] Explicitly set GITHUB_ACTIONS env var (in cibuildwheel Docker container) --- .github/workflows/freethreaded_wheels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/freethreaded_wheels.yml b/.github/workflows/freethreaded_wheels.yml index 84e841a2..e9c4b0a0 100644 --- a/.github/workflows/freethreaded_wheels.yml +++ b/.github/workflows/freethreaded_wheels.yml @@ -69,6 +69,9 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2 CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation" + CIBW_ENVIRONMENT: GITHUB_ACTIONS=True + GITHUB_ACTIONS: True + CIBW_ENVIRONMENT_PASS_LINUX: GITHUB_ACTIONS - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: wheels_linux_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}