Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
github操作获取测试生成的URL_Github_Github Actions - Fatal编程技术网

github操作获取测试生成的URL

github操作获取测试生成的URL,github,github-actions,Github,Github Actions,我似乎不知道如何在文档中的任何地方获取测试工作流的URL。我有一个简单的作业,它运行测试,如果失败,它需要将失败作业的URL发布到另一个web服务 我本以为这会出现在默认的环境变量中,但显然不是 谢谢,我确信文档中没有这方面的内容,但我最终发现这是可行的: https://github.com/<name>/<repo>/commit/$GITHUB_SHA/checks https://github.com///commit/$GITHUB_SHA/支票 不久前GH论

我似乎不知道如何在文档中的任何地方获取测试工作流的URL。我有一个简单的作业,它运行测试,如果失败,它需要将失败作业的URL发布到另一个web服务

我本以为这会出现在默认的环境变量中,但显然不是


谢谢,

我确信文档中没有这方面的内容,但我最终发现这是可行的:

https://github.com/<name>/<repo>/commit/$GITHUB_SHA/checks
https://github.com///commit/$GITHUB_SHA/支票

不久前GH论坛上的一个人找到了“”。