From 84dc5b450d06c1eb8c125485ff3fa1d037e8596a Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Fri, 2 Feb 2024 21:08:52 -0800 Subject: [PATCH] Add a CIBW_ARTIFACT_TYPE environment variable --- .github/workflows/pythonpackage.yml | 2 +- helics_apps-pip/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 0391994..c07342b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -67,7 +67,7 @@ jobs: CIBW_ARCHS_MACOS: "universal2" CIBW_BUILD: "cp39-${{ matrix.build }}*" CIBW_BUILD_VERBOSITY: 3 - TEST_ENV_VAR: "A VALUE!!!" + CIBW_ENVIRONMENT: "CIBW_ARTIFACT_TYPE=${{ matrix.artifact_suffix }}" - uses: actions/upload-artifact@v4 with: name: apps-python-dist-${{matrix.artifact_suffix}} diff --git a/helics_apps-pip/CMakeLists.txt b/helics_apps-pip/CMakeLists.txt index ef6ea34..f550201 100644 --- a/helics_apps-pip/CMakeLists.txt +++ b/helics_apps-pip/CMakeLists.txt @@ -15,7 +15,7 @@ elseif(WIN32) endif() endif() -message(STATUS "CIBW_BUILD: $ENV{CIBW_BUILD}") +message(STATUS "CIBW_ARTIFACT_TYPE: $ENV{CIBW_ARTIFACT_TYPE}") message(STATUS "CIBUILDWHEEL: $ENV{CIBUILDWHEEL}") message(STATUS "DOWNLOAD URL: ${HELICS_DOWNLOAD_URL}")