run download cache after config

Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-19 00:32:12 +02:00
parent d934f06d1b
commit ce5fb3d403
No known key found for this signature in database
GPG Key ID: 034D1C0527888B65

View File

@ -98,9 +98,6 @@ jobs:
- name: Install Python requirements for runner
run: pip install -r .github/workflows/requirements-conan-package.txt
- name: Use Conan download cache (Bash)
run: conan config set storage.download_cache="$HOME/.conan/conan_download_cache"
- name: Cache Conan local repository packages (Bash)
uses: actions/cache@v3
with:
@ -149,6 +146,9 @@ jobs:
- name: Get Conan configuration
run: conan config install https://github.com/Ultimaker/conan-config.git
- name: Use Conan download cache (Bash)
run: conan config set storage.download_cache="$HOME/.conan/conan_download_cache"
- name: Create the Packages (Bash)
run: conan install $CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$ENTERPRISE -o cura:staging=$STAGING --json "cura_inst/conan_install_info.json"