gpt4 book ai didi

github - 是否可以直接下载 Github-Actions Artifact ?

转载 作者:行者123 更新时间:2023-12-03 23:44:53 25 4
gpt4 key购买 nike

当我想下载 Artifact 时,我使用以下 URL:https://github.com/some_user/some_repo/suites/some_id/artifacts/some_id .然而,这总是引导我到 .zip打包,即使结果只是一个文件。在我的例子中,这个额外的层是完全多余的,我想跳过它(当我构建一个我希望能够方便地预览的 pdf 时,这尤其烦人)。
(如何)我可以设置自动化工作流程来公开解压缩的文件吗?

最佳答案

目前是不可能的:

Note: We only currently support downloading an artifact from the GitHub UI by zipping all the files together (this is independent of how the artifact gets uploaded). If you upload an individual file, in the UI the artifact will still present itself as a Zip because that is currently only what we support. We have plans in our roadmap to offer a more enhanced artifact UI experience that will allow you to browse and download individual files from an artifact. No ETA on when that might arrive, but it is something that we really really want to enhance.


https://github.com/actions/upload-artifact/issues/3#issuecomment-598820814

This is a limitation of our APIs and our UI, some of my earlier comments go into more details #39 (comment) and #39 (comment)

If you also look at our public api to download an artifact, you'll notice that we currently require a zip :archive_format: https://developer.github.com/v3/actions/artifacts/#download-an-artifact and that is what effectively is being used when you click to download an artifact. Ideally we should have options that let get the raw contents of whatever was uploaded without any archiving format, but we currently don't have any solutions disappointed


https://github.com/actions/upload-artifact/issues/109#issuecomment-671853296

关于github - 是否可以直接下载 Github-Actions Artifact ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63451187/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com