我正在尝试下载GitHub中特定工作流的日志。
我参考了以下链接进行操作,link。
然而,我得到了302响应代码。
不确定问题出在哪里。它没有按预期下载日志
curl -v -u username:$token -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/ORGANIZATION/REPOSITORY/actions/runs/319282523477/logs
.
.
< HTTP/1.1 302 Found
< Date: Wed, 21 Oct 2020 07:47:13 GMT
< Content-Type: text/html;charset=utf-8
.