File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 - name : Check third party licenses
1919 run : cmake --workflow --preset workflow-ci-license-check-unix
20+
21+ - uses : EndBug/add-and-commit@v10
22+ id : commit
23+ with :
24+ author_name : License Check Robot
25+ author_email : bot@github.com
26+ message : ' chore: automatic third party licenses update'
Original file line number Diff line number Diff line change @@ -112,7 +112,9 @@ string(LENGTH ${markdown_content} markdown_length)
112112math (EXPR markdown_substring "${markdown_length} - 2" )
113113string (SUBSTRING ${markdown_content} 0 ${markdown_substring} markdown_content)
114114
115- configure_file (licenses.hml.in licenses.html @ONLY )
116- configure_file (
117- licenses.md.in ${CMAKE_CURRENT_LIST_DIR} /../../3rd-party-licenses.md @ONLY
118- )
115+ if (AIDE_CHECK_LICENSES_AVAILABILITY)
116+ configure_file (licenses.hml.in licenses.html @ONLY )
117+ configure_file (
118+ licenses.md.in ${CMAKE_CURRENT_LIST_DIR} /../../3rd-party-licenses.md @ONLY
119+ )
120+ endif ()
You can’t perform that action at this time.
0 commit comments