CI runner can not get CMakeLists.txt file content changed.
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=26260) </details> <!--IssueSummary end--> Hello everyone: I met a problem that the CI runner cannot get CMakeLists.txt file content changed. I used the GitLab Community Edtion. When I changed the content of CMakeLists.txt, and using the terminal to add it into the repository. like something below: ```Shell $git add CMakeLists.txt $git commit -m "do something such as MESSAGE to print log" $git push origin master ``` This operation will trigger the gitlab ci runner to build it. But when I check the build log, I did not find the message that I want to print. If the main.cpp file was changed, the gitlab ci runner will get the new content. In my .gitlab-ci.yml, I cache all files without distinguishing the type of *.cpp or *.txt. Part of yaml is below: ```Shell stages: - prebuild - build variables: GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle" # prebuild stage do prebuild job: stage: prebuild variables: GIT_STRATEGY: clone script: - ls -la cache: key: repo_dependencies paths: - $CI_PROJECT_DIR/ policy: pull-push ``` The CMakeLists.txt was in the $CI_PROJECT_DIR/ subdirectory. Any help will be appreciated.
issue