Skip to content

Commit 0b9daa1

Browse files
committed
Save ccache log in cache irrespective of debug or normal mode
Source: WildKernels/OnePlus_KernelSU_SUSFS@27a9abb
1 parent 46879f1 commit 0b9daa1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/build-kernel-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ jobs:
612612
"CCACHE_INODE_CACHE=true"
613613
"CCACHE_IS_KERNEL_COMPILING=true"
614614
"CCACHE_UMASK=002"
615+
"CCACHE_LOGFILE=${CCACHE_LOG}"
615616
"CCACHE_SLOPPINESS=file_macro,time_macros,include_file_mtime,include_file_ctime,pch_defines,system_headers,locale"
616617
)
617618
@@ -620,11 +621,6 @@ jobs:
620621
echo "$setting" >> "$GITHUB_ENV"
621622
done
622623
623-
if [ "${{ inputs.debug }}" == "true" ]; then
624-
export "CCACHE_LOGFILE=$CCACHE_LOG"
625-
echo "CCACHE_LOGFILE=$CCACHE_LOG" >> "$GITHUB_ENV"
626-
fi
627-
628624
if ccache --help 2>&1 | grep -q 'depend_mode'; then
629625
export CCACHE_DEPEND=true
630626
echo "CCACHE_DEPEND=true" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)