我试图在测试项目中发布新版本,但我的工件无法识别。
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
答案 0 :(得分:2)
您应该在appveyor.yml
中设置工件包装。对于项目中的该文件,这将是:
artifacts:
- path: artifact.txt