We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7105bae commit 1fe1fb5Copy full SHA for 1fe1fb5
1 file changed
.github/workflows/build-kernel-release.yml
@@ -486,6 +486,7 @@ jobs:
486
if command -v ccache >/dev/null 2>&1; then
487
CACHE_DIR="${{ github.workspace }}/.ccache"
488
LDCACHE_DIR="${{ github.workspace }}/.ld_cache"
489
+ CCACHE_LOG="${{ github.workspace }}/ccache.log"
490
mkdir -p "$CACHE_DIR"
491
mkdir -p "$LDCACHE_DIR"
492
@@ -511,7 +512,12 @@ jobs:
511
512
export "$setting"
513
echo "$setting" >> "$GITHUB_ENV"
514
done
-
515
+
516
+ if [ "${{ inputs.debug }}" == "true" ]; then
517
+ export "CCACHE_LOGFILE=$CCACHE_LOG"
518
+ echo "CCACHE_LOGFILE=$CCACHE_LOG" >> "$GITHUB_ENV"
519
+ fi
520
521
if ccache --help 2>&1 | grep -q 'depend_mode'; then
522
export CCACHE_DEPEND=true
523
echo "CCACHE_DEPEND=true" >> "$GITHUB_ENV"
0 commit comments