-
Notifications
You must be signed in to change notification settings - Fork 0
chore: CI Gradle 빌드 캐시 적용 #284
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
Merged
+23
−6
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: YAPP-Github/Reed-Android
Length of output: 714
🏁 Script executed:
Repository: YAPP-Github/Reed-Android
Length of output: 662
🌐 Web query:
setup-gradle@v4 cache-cleanup default value documentation💡 Result:
For
gradle/actions/setup-gradle@v4, thecache-cleanupinput defaults toon-success(i.e., it only runs cache cleanup when all Gradle builds in the job succeed). You can set it toalwaysornever. [1]This behavior (and that cache cleanup is enabled by default in v4) is also noted in the v4 deprecation/upgrade guide, where the old boolean
gradle-home-cache-cleanupinput was replaced bycache-cleanup. [2]Sources: [1], [2]
cache-cleanup주석의 기본값을 수정하세요.setup-gradle@v4액션의cache-cleanup기본값은on-success이지만, 주석에는default: never로 잘못 표기되어 있습니다. 두 위치(39-40, 83-84)의 주석을 모두 수정해야 합니다.수정 방법
📝 Committable suggestion
🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default값 어디서 어떻게 확인할 수 있어?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@easyhooonGitHub Actions의 default 값을 확인하는 방법은 다음과 같습니다:1. 액션 저장소의
action.yml파일 확인가장 정확한 방법은 해당 액션의 GitHub 저장소에서
action.yml(또는action.yaml) 파일을 직접 확인하는 것입니다.setup-gradle@v4의 경우:
여기서
inputs섹션을 보면 각 파라미터의default값이 명시되어 있습니다:2. 공식 문서 확인
3. 실전 팁
@v4), 해당 버전의 태그나 릴리스를 찾아가서 확인@뒤의 버전/태그/커밋을 클릭하면 해당 시점의 코드로 이동 가능현재 케이스에서
cache-cleanup의 default 값은 실제로on-success가 맞습니다! 👍There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default가 on-success면 굳이 설정 코드 남길필요없잖아 주석만 남기고 코드는 지워야겠네
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.