File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,15 @@ runs:
107107 if : ${{ inputs.disable-caching != 'true' }}
108108 shell : bash
109109 run : |
110+ set -x
111+ echo "SHELL: $SHELL BASH_VERSION: $BASH_VERSION BASH: $BASH"
112+ ls -la *.gradle *.gradle.kts gradle/libs.versions.toml gradle/wrapper/gradle-wrapper.properties 2>/dev/null || true
113+ find . \( -name '*.gradle' -o -name '*.gradle.kts' \) -type f
114+ find . \( -name '*.gradle' -o -name '*.gradle.kts' \) -type f -exec md5sum {} +
115+ find . \( -name '*.gradle' -o -name '*.gradle.kts' \) -type f -exec md5sum {} \;
116+ type sort
110117 # Generate cache key from all Gradle files
111- find . \( -name '*.gradle' -o -name '*.gradle.kts' \) -type f -exec md5sum {} \; | sort > gradle-md5-sums.txt
118+ find . \( -name '*.gradle' -o -name '*.gradle.kts' \) -type f -exec md5sum {} \; > gradle-md5-sums.txt
112119 md5sum gradle/libs.versions.toml gradle/wrapper/gradle-wrapper.properties 2>/dev/null >> gradle-md5-sums.txt || true
113120
114121 GRADLE_CACHE_KEY=$(md5sum gradle-md5-sums.txt | awk '{ print $1 }')
@@ -117,6 +124,7 @@ runs:
117124 echo "GRADLE_CACHE_KEY=${GRADLE_CACHE_KEY}" >> "$GITHUB_ENV"
118125
119126 rm -f gradle-md5-sums.txt
127+ set +x
120128
121129 - name : Restore Gradle Cache
122130 if : ${{ inputs.disable-caching != 'true' }}
You can’t perform that action at this time.
0 commit comments