Artifacts in appveyor.yml results in error.

micah's Avatar


14 Jul, 2014 01:23 AM

I have an appveyor.yml file that works fine under normal conditions. However, when I add the following artifacts block, it gives me an error:

  - path: **/*.nupkg
  - path: **/*.dll
  - path: **/*.pdb

The error I get is Error parsing appveyor.yml: (Lin: 17, Col: 10, Chr: 180) - (Lin: 17, Col: 11, Chr: 181): While scanning an anchor or alias, did not find expected alphabetic or numeric character.

In the case of the run that resulted in that error, Line 17 is the artifacts: line.

  1. 1 Posted by micah on 14 Jul, 2014 02:29 AM

    micah's Avatar

    Changing the line to - path: ./**/*.nupkg seemed to do the trick. Would be nice to get a docs update that discusses this.

  2. Support Staff 2 Posted by Feodor Fitsner on 14 Jul, 2014 05:13 AM

    Feodor Fitsner's Avatar

    Hi Micah,

    Thanks for pointing this out! We'll update the docs.

    Also, surrounding paths with quotes should work too:

      - path: "**/*.nupkg"
      - path: "**/*.dll"
      - path: "**/*.pdb"
  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.

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

Keyboard shortcuts


? 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