Stream: helpdesk (published)

Topic: julia-actions with monorepo


view this post on Zulip Simon Christ (Jul 05 2023 at 13:01):

Has anyone figured out yet how to use julia actions such as julia-invalidations in a monorepo setting? That is, it should use the development version of all the packages in the repo and not just the main package. I am currently struggeling with this in https://github.com/JuliaPlots/Plots.jl/pull/4783

view this post on Zulip Sascha Mann (Jul 05 2023 at 13:48):

julia-invalidation assumes the package name is the repo name: https://github.com/julia-actions/julia-invalidations/blob/5d237091b8285114de7b3136f634b3bbc0dc35e9/action.yml#L26

You could open a PR that adds an input to the action to overwrite that default if you want.

Some of the actions, like julia-runtest take inputs to determine the project which should help with what you're trying to do, I think

view this post on Zulip Simon Christ (Jul 05 2023 at 13:57):

Problem is it already fails here because it can't resolve the environment, because it uses incompatible versions without deving all the contained packages first.

view this post on Zulip Simon Christ (Jul 05 2023 at 14:38):

https://github.com/julia-actions/julia-invalidations/pull/15


Last updated: Dec 28 2024 at 04:38 UTC