From efd2a33ecb22f478ffa5a8e1c763eeb01d84eb76 Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Wed, 3 Dec 2025 17:54:47 -0500 Subject: [PATCH] Use env var for the ccache dir --- .github/workflows/reusable-build-test-config.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/reusable-build-test-config.yml b/.github/workflows/reusable-build-test-config.yml index c6a3850019..ee9f4806bd 100644 --- a/.github/workflows/reusable-build-test-config.yml +++ b/.github/workflows/reusable-build-test-config.yml @@ -116,16 +116,11 @@ jobs: ${CMAKE_ARGS} \ .. - - name: Get ccache directory - if: ${{ runner.os == 'Linux' }} - id: ccache - run: echo "dir=$(ccache -k cache_dir)" >> $GITHUB_OUTPUT - - name: Restore build objects if: ${{ runner.os == 'Linux' }} uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: - path: ${{ steps.ccache.outputs.dir }} + path: ${{ env.CCACHE_DIR }} key: ${{ inputs.config_name }} - name: Print out ccache statistics before building @@ -151,7 +146,7 @@ jobs: if: ${{ runner.os == 'Linux' }} uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: - path: ${{ steps.ccache.outputs.dir }} + path: ${{ env.CCACHE_DIR }} key: ${{ inputs.config_name }} - name: Upload rippled artifact (Linux)