Is there any Pkg.Artifacts
wrapper that lets me easily upload the tarball somewhere so that I can put a URL in a Artifacts.toml
? My use case is sharing some computation data generated in local machines (so not package binary distribution generated in CI).
I can write a simple wrapper around archive_artifact
and gh gist
CLI to upload a tarball in private gist. But I wonder if someone already has implemented a better solution.
I have been thinking of adding something like that to ArtifactUtils.jl before, but haven't really had a need for it yet. If you figure out something that works for you, I'd gladly accept a PR. I believe we even have a jll for the GitHub CLI.
Yes: https://github.com/JuliaBinaryWrappers/gh_cli_jll.jl
BTW, we have the code to upload tarballs to Github releases in BinaryBuilder: https://github.com/JuliaPackaging/BinaryBuilder.jl/blob/da5e1bd80ab77c833d820ae70faa876b793ef3db/src/AutoBuild.jl#L434
Here we go https://github.com/simeonschaub/ArtifactUtils.jl/pull/8
Last updated: Nov 22 2024 at 04:41 UTC