无法将工件从 Appveyor 部署到 Github

Unable to deploy artifact from Appveyor to Github

我收到这条消息:

"GitHub" deployment has been skipped as environment variable has not matched ("appveyor_repo_tag" is "false", should be "true")

但是,从我的Appveyor.yml可以看出:

https://github.com/GrokImageCompression/grok/blob/master/appveyor.yml

appveyor_repo_tag实际上设置为true

  • 移除skip_tags: true
  • 在 GitHub 部署设置中添加 tag: $(APPVEYOR_REPO_TAG_NAME)(以防止 AppVeyor 创建新标签和无休止的构建循环)
  • 可选择添加 force_update: true(更新版本详细信息,不仅是文件)