From 2bb972ff7734817aef77b8d52ac285d91489a9d4 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 30 Jul 2023 20:52:07 -0700 Subject: [PATCH] fix home ref --- .github/workflows/build-linux.yml | 2 +- .github/workflows/build-windows.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 4e070e9f0..7d389f1e7 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -71,7 +71,7 @@ jobs: env: CC: gcc-${{ inputs.gcc-ver }} CXX: g++-${{ inputs.gcc-ver }} - CCACHE_DIR: ${{ env.HOME }}/.ccache + CCACHE_DIR: ${{ github.env.HOME }}/.ccache run: | cmake \ -S . \ diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index d6a5371b0..34268fc17 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -36,14 +36,14 @@ jobs: if: inputs.platform-files uses: actions/cache@v3 with: - path: ${{ env.HOME }}/clcache + path: ${{ github.env.HOME }}/clcache key: win-msvc-${{ inputs.cache-id }}-${{ github.sha }} restore-keys: | win-msvc-${{ inputs.cache-id }} win-msvc - name: Configure DFHack env: - CLCACHE_DIR: ${{ env.HOME }}/clcache + CLCACHE_DIR: ${{ github.env.HOME }}/clcache run: cmake -S . -B build -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=build/image ${{ inputs.platform-files && '-DCMAKE_C_COMPILER_LAUNCHER=clcache' || '' }} ${{ inputs.platform-files && '-DCMAKE_CXX_COMPILER_LAUNCHER=clcache' || '' }} -DBUILD_LIBRARY:BOOL=${{ inputs.platform-files }} -DBUILD_PLUGINS:BOOL=${{ inputs.platform-files }} -DBUILD_STONESENSE:BOOL=${{ inputs.platform-files }} -DBUILD_DOCS:BOOL=${{ inputs.common-files }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} - name: Build DFHack run: cmake --build build -j 2 --config Release --target install