Skip to content

Commit

Permalink
Fix ccache problem
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR committed Jul 23, 2024
1 parent 417ee24 commit 41adac5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/setup_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}-
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}

0 comments on commit 41adac5

Please sign in to comment.