Cache to arch specific key

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-22 06:58:14 +02:00 committed by Jelle Spijker
parent c135173e67
commit 5616bae098

View file

@ -62,7 +62,7 @@ jobs:
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
with: with:
path: $HOME/.conan/data path: $HOME/.conan/data
key: ${{ runner.os }}-conan key: conan-${{ runner.os }}-${{ runner.arch }}
- name: Cache Conan local repository packages (Powershell) - name: Cache Conan local repository packages (Powershell)
uses: actions/cache@v3 uses: actions/cache@v3
@ -71,7 +71,7 @@ jobs:
path: | path: |
C:\Users\runneradmin\.conan\data C:\Users\runneradmin\.conan\data
C:\.conan C:\.conan
key: ${{ runner.os }}-conan key: conan-${{ runner.os }}-${{ runner.arch }}
- name: Install MacOS system requirements - name: Install MacOS system requirements
if: ${{ runner.os == 'Macos' }} if: ${{ runner.os == 'Macos' }}