Skip to content

Commit

Permalink
Fix check for running GITHUB_WORKFLOW
Browse files Browse the repository at this point in the history
  • Loading branch information
1runeberg committed Nov 2, 2024
1 parent b59782b commit 666fb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ add_custom_command(TARGET ${XRLIB} POST_BUILD


# Compile shaders only if we're not in an android build
if(NOT ANDROID AND NOT DEFINED ENV{GITHUB_ACTIONS})
if(NOT ANDROID AND NOT DEFINED ENV{GITHUB_WORKFLOW})
add_custom_command(TARGET ${XRLIB} POST_BUILD
COMMAND ${CMAKE_COMMAND} --build . --target CompileShaders
)
Expand Down

0 comments on commit 666fb68

Please sign in to comment.