diff --git a/.github/GetProfile.py b/.github/GetProfile.py index 50edd8da..bfb0a734 100644 --- a/.github/GetProfile.py +++ b/.github/GetProfile.py @@ -11,4 +11,6 @@ env_file = os.getenv('GITHUB_ENV') with open(env_file, "a") as myfile: - myfile.write(f"generated_cmake_preset={Build.get_preset()}") + myfile.write(f"GeneratedCMakeProfile={Build.get_preset()}") + + print(f"Setting GeneratedCMakeProfile={Build.get_preset()}") diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2a343d1..953dc4c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,11 +44,11 @@ jobs: run: python3 .github/GetProfile.py - name: cmake - run: cmake --preset $generated_cmake_preset + run: cmake --preset $GeneratedCMakeProfile - name: build - run: cmake --build --preset $generated_cmake_preset -j${{ steps.cpu-cores.outputs.count }} + run: cmake --build --preset $GeneratedCMakeProfile -j${{ steps.cpu-cores.outputs.count }} - name: run tests - run: ctest --preset $generated_cmake_preset -j --output-on-failure + run: ctest --preset $GeneratedCMakeProfile -j --output-on-failure