Multiple build cache dependencies

Tea's Avatar

Tea

21 Oct, 2015 02:37 AM

Hi,

This is referring to build cache which is normally configured with something like:

cache:
  - packages -> **\packages.config

I have a situation where I would like to depend on several files. I'm guessing the syntax might be something like...

cache:
  - packages -> DEP1, DEP2

or maybe...

cache:
  - packages -> DEP1 -> DEP2

Does Appveyor support this?

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Oct, 2015 03:12 AM

    Feodor Fitsner's Avatar

    Yes, this is the correct syntax:

    cache: 
      - packages -> DEP1, DEP2
    
  2. 2 Posted by Hiren on 01 Dec, 2017 06:27 AM

    Hiren's Avatar

    Can we have wildcard with multiple dependency?
    like

    cache:
        - packages -> .appveyor.yml, somedir_in_repo\*.bat
    
  3. 3 Posted by Ilya Finkelshte... on 01 Dec, 2017 07:49 AM

    Ilya Finkelshteyn's Avatar

    @Hiren yes, it should work.

  4. 4 Posted by Hiren on 01 Dec, 2017 06:48 PM

    Hiren's Avatar

    @llya Thanks. Perhaps we should add this info (with few examples) to AppVeyor documentation as current documentation (https://www.appveyor.com/docs/build-cache/) doesn't say anything about having multiple dependency

  5. 5 Posted by Ilya Finkelshte... on 01 Dec, 2017 06:50 PM

    Ilya Finkelshteyn's Avatar

    You are right, I was needed to check with code myself to answer your question :) Will update.

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

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