How to cache several folders?

vadim.peretokin's Avatar

vadim.peretokin

08 Apr, 2022 03:02 PM

I've got the following appveyor.yml:

environment:
  matrix:
  - QT_BASE_DIR: C:\Qt\5.14.2\mingw73_32
    MINGW_BASE_DIR: C:\Qt\Tools\mingw730_32

cache:
  - '%MINGW_BASE_DIR% -> CI\appveyor.install.ps1, CI\appveyor.functions.ps1'
  - '%QT_BASE_DIR% -> CI\appveyor.install.ps1, CI\appveyor.functions.ps1'

But when I run my build, only one of the folders is cached / restored from the cache:

Restoring build cache
Cache 'C:\Qt\Tools\mingw730_32' - Restored
Running Install scripts

Why is that?

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Apr, 2022 06:22 PM

    Feodor Fitsner's Avatar

    By default, cache is not being updated in PR builds, unless explicitly enabled on General tab of project settings ("Save build cache in Pull Requests").

  2. Feodor Fitsner closed this discussion on 08 Jun, 2022 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac