diff --git a/.github/workflows/setup_environment.yml b/.github/workflows/setup_environment.yml index 2b8c5c2618..888aea6743 100644 --- a/.github/workflows/setup_environment.yml +++ b/.github/workflows/setup_environment.yml @@ -88,7 +88,7 @@ jobs: - name: Restore cache uses: actions/cache@v4 with: - path: $HOME/.ccache/${{ inputs.os }}-${{ inputs.config }} + path: ${{ github.workspace }}/.ccache/${{ inputs.os }}-${{ inputs.config }} key: ccache-${{ inputs.os }}-${{ inputs.config }}-${{ inputs.qmake_extra }}-${{ github.sha }} restore-keys: | ccache-${{ inputs.os }}-${{ inputs.config }}-${{ inputs.qmake_extra }}- @@ -101,7 +101,7 @@ jobs: env: TRIK_QT_VERSION: ${{ inputs.trik-qt-version }} TRIK_PYTHON3_VERSION_MINOR: ${{ inputs.trik-python3-version-minor }} - CCACHE_DIR: $HOME/.ccache/${{ inputs.os }}-${{ inputs.config }} + CCACHE_DIR: ${{ github.workspace }}/.ccache/${{ inputs.os }}-${{ inputs.config }} CCACHE_CONFIGPATH: ${{ github.workspace }}/ccache.conf PROJECT: "studio" CONFIG: ${{ inputs.config }} @@ -117,7 +117,7 @@ jobs: env: TRIK_QT_VERSION: ${{ inputs.trik-qt-version }} TRIK_PYTHON3_VERSION_MINOR: ${{ inputs.trik-python3-version-minor }} - CCACHE_DIR: $HOME/.ccache/${{ inputs.os }}-${{ inputs.config }} + CCACHE_DIR: ${{ github.workspace }}/.ccache/${{ inputs.os }}-${{ inputs.config }} CCACHE_CONFIGPATH: ${{ github.workspace }}/ccache.conf PROJECT: "studio" CONFIG: ${{ inputs.config }} @@ -140,8 +140,3 @@ jobs: installer/*.dmg if: ${{ inputs.build_installer == 'true' }} - # - name: Save cache - # uses: actions/cache/save@v4 - # with: - # path: ${{ github.workspace }}/.ccache/${{ matrix.os }}-${{ matrix.config }} - # key: ccache-${{ matrix.os }}-${{ matrix.config }}-${{ matrix.qmake_extra }}-${{ github.sha }}