From feaef728155c028cf8cec488a1aaa21a20378e0c Mon Sep 17 00:00:00 2001 From: Chinmay Shah Date: Sun, 15 Oct 2023 22:34:11 +0530 Subject: [PATCH] added additional variable to simplify handling --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0b8abc8b..4bb1bd81 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,7 +70,8 @@ jobs: pip install cibuildwheel export CIBW_PLATFORM=linux # Set for which Python version to build. - py_version=${matrix.python-version//.} # 3.11 -> 311 + system_python_version=${{ matrix.python-version }} + py_version=${system_python_version//.} # 3.11 -> 311 EXPORT CIBW_BUILD=cp${py_version}-manylinux_x86_64 # Build wheel echo "Building ${CIBW_BUILD} wheel"