No artifacts were published.

phil's Avatar

phil

18 Jul, 2019 05:11 AM

Hi! When attempting to push an artifact to GitHub, this message is provided:

No artifacts were published. Make sure you have specified correct artifacts filter.

However, the artifact is collected:

Collecting artifacts...
Found artifact 'bin\MOSA-Installer-1.9.7.70.exe' matching 'bin\MOSA-Installer-*.exe' path

And the appveyor.yml seems correct:

    artifacts:
    - path: bin\MOSA-Installer-*.exe

    deploy:
      - provider: GitHub
        artifact: bin\MOSA-Installer-*.exe

URL of appveyor.yml:

https://github.com/mosa/MOSA-Project/blob/stable/appveyor.yml#L76

URL of failed build:

https://ci.appveyor.com/project/MOSA/mosa-project/builds/26036951/j...

Any help would be appreciated. Thanks in advance!

  1. 1 Posted by Owen McDonnell on 18 Jul, 2019 01:51 PM

    Owen McDonnell's Avatar

    Can you try naming the artifact. i.e.

      artifacts:
        - path: bin\MOSA-Installer-*.exe
        - name: my-artifact
    

    and use that name in artifact: field of deploy section.

  2. 2 Posted by phil on 18 Jul, 2019 02:13 PM

    phil's Avatar

    Tried that and it works.

    However, the documentation states that the match is against artifacts.path too.

    > https://www.appveyor.com/docs/deployment/github/

    Is a bug in the documentation or application, or is the match filter incorrect?

  3. 3 Posted by Owen McDonnell on 23 Jul, 2019 05:11 PM

    Owen McDonnell's Avatar

    It works against artifacts path if there is no wildcard.

  4. Ilya Finkelshteyn closed this discussion on 22 Sep, 2019 09:01 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

Recent Discussions

13 Dec, 2019 05:26 PM
13 Dec, 2019 11:28 AM
12 Dec, 2019 09:36 PM
12 Dec, 2019 09:25 PM
12 Dec, 2019 06:01 PM

 

11 Dec, 2019 11:29 PM
11 Dec, 2019 08:47 PM
11 Dec, 2019 01:39 PM
10 Dec, 2019 12:29 AM
09 Dec, 2019 05:35 AM
07 Dec, 2019 04:20 PM