File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ jobs:
251251 - name : 👷 Build ${{ env.HINT }}
252252 shell : cmd
253253 run : |
254- cmake --preset windows-${{ env.BUILD_TYPE }} -DGITHUB_ACTIONS ${{ steps.dependencies.outputs.cmakeArgs }}
254+ cmake --preset windows-${{ env.BUILD_TYPE }} ${{ steps.dependencies.outputs.cmakeArgs }}
255255 cmake --build --preset windows-${{ env.BUILD_TYPE }} --target package
256256 env :
257257 BUILD_TYPE : ${{ inputs.event_name == 'pull_request' && 'debug' || 'release' }}
Original file line number Diff line number Diff line change @@ -47,3 +47,7 @@ target_compile_definitions(python PRIVATE
4747 PYTHON_VERSION_MAJOR=${PYTHON_VERSION_MAJOR}
4848 PYTHON_VERSION_MINOR=${PYTHON_VERSION_MINOR}
4949)
50+
51+ if (DEFINED ENV{GITHUB_ACTIONS})
52+ target_compile_definitions (python PUBLIC GITHUB_ACTIONS)
53+ endif ()
You can’t perform that action at this time.
0 commit comments