Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: actions add cache #2088

Merged
merged 1 commit into from
Nov 1, 2023
Merged

chore: actions add cache #2088

merged 1 commit into from
Nov 1, 2023

Conversation

baerwang
Copy link
Collaborator

AlexStocks
AlexStocks previously approved these changes Oct 31, 2023
uses: actions/cache@v3
id: cache-ubuntu
with:
key: ${{ runner.os }}-build-ubuntu-${{ hashFiles('**/CMakeLists.txt') }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is CMakeLists used here to calculate hash values?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下面build命令行cmake用到cmakelists,cmakelist改变不能使用原来的缓存了

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的;另外,这里我还有一个疑问,你这里缓存了整个workspace,会不会导致每次新增修改的代码,被缓存中的代码给覆盖掉,最终导致每次编译实际上都是用的旧的代码

@AlexStocks AlexStocks merged commit 976d311 into OpenAtomFoundation:unstable Nov 1, 2023
11 checks passed
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants