未检测到 Appveyor 发布工件

Appveyor release artifact not detected

我正在尝试在测试项目上发布新版本,但无法识别我的工件。

Discovering tests...OK
Deploying using GitHub provider
Creating "a2" release for repository "Phonations/TravisTest" tag "a2" commit "44d044aa7708508f016dfef67fbdd82f08642f8d"...OK
No artifacts were published. Make sure you have specified correct artifacts filter.
Build success

(完整输出可用 here

我检查了工件 artifact.txt 是否存在,正如您在构建输出中执行 dir 命令时所看到的那样。 指定为 here

您应该在 appveyor.yml 中设置工件打包。对于您项目中的该文件,这将是:

artifacts:
- path: artifact.txt