tag:help.appveyor.com,2012-11-13:/discussions/problems/24485-no-artifacts-were-publishedAppVeyor: Discussion 2019-09-22T21:01:19Ztag:help.appveyor.com,2012-11-13:Comment/474471312019-07-18T05:11:55Z2019-07-18T05:12:07ZNo artifacts were published. <div><p>Hi! When attempting to push an artifact to GitHub, this message is provided:</p>
<pre>
<code>No artifacts were published. Make sure you have specified correct artifacts filter.</code>
</pre>
<p>However, the artifact is collected:</p>
<pre>
<code>Collecting artifacts...
Found artifact 'bin\MOSA-Installer-1.9.7.70.exe' matching 'bin\MOSA-Installer-*.exe' path</code>
</pre>
<p>And the appveyor.yml seems correct:</p>
<pre>
<code> artifacts:
- path: bin\MOSA-Installer-*.exe
deploy:
- provider: GitHub
artifact: bin\MOSA-Installer-*.exe</code>
</pre>
<p>URL of appveyor.yml:</p>
<blockquote>
<p><a href="https://github.com/mosa/MOSA-Project/blob/stable/appveyor.yml#L76">https://github.com/mosa/MOSA-Project/blob/stable/appveyor.yml#L76</a></p>
</blockquote>
<p>URL of failed build:</p>
<blockquote>
<p><a href="https://ci.appveyor.com/project/MOSA/mosa-project/builds/26036951/job/vsci52f6wtdacgcf">https://ci.appveyor.com/project/MOSA/mosa-project/builds/26036951/j...</a></p>
</blockquote>
<p>Any help would be appreciated. Thanks in advance!</p></div>philtag:help.appveyor.com,2012-11-13:Comment/474471312019-07-18T13:51:27Z2019-07-18T13:51:27ZNo artifacts were published. <div><p>Can you try naming the artifact. i.e.<br></p>
<pre>
<code> artifacts:
- path: bin\MOSA-Installer-*.exe
- name: my-artifact</code>
</pre>
<p>and use that name in <code>artifact:</code> field of deploy section.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/474471312019-07-18T14:13:33Z2019-07-18T14:13:33ZNo artifacts were published. <div><p>Tried that and it works.</p>
<p>However, the documentation states that the match is against artifacts.path too.</p>
<blockquote>
<p><a href="https://www.appveyor.com/docs/deployment/github/">https://www.appveyor.com/docs/deployment/github/</a></p>
</blockquote>
<p>Is a bug in the documentation or application, or is the match filter incorrect?</p></div>philtag:help.appveyor.com,2012-11-13:Comment/474471312019-07-23T17:11:34Z2019-07-23T17:11:34ZNo artifacts were published. <div><p>It works against artifacts path if there is no wildcard.</p></div>Owen McDonnell