GitHub Action to build a relocatable Julia distribution from a project, with the project's dependencies baked into the system image and exposed as standard libraries.
Important
Nothing here is currently versioned. There is no release series, no tag and no Marketplace listing, so reference these actions by commit SHA — which is the recommended way to reference any third-party action regardless. Inputs may still change, and the build options in particular are expected to be replaced rather than extended.
The action covers exactly the build: provisioning PackageCompiler and calling
create_distribution. Installing Julia and resolving registries beforehand are
the caller's responsibility, as is everything done to the resulting tree —
signing it (available for macOS through the sign-macos sibling
action), packing it into an archive (available through the pack
sibling action), uploading it or running a test suite against it.
The documentation covers the model these actions compose under, a worked workflow for each of the usual cases, every input and output of every action, and where the inputs stop. Start there; what follows is the most basic invocation of the build action without any additional setup.
steps:
- name: "Create the Julia distribution"
uses: "JuliaComputing/create-julia-distribution@958799562b82fcabd2f5508f7ee296e1d91de200"
with:
distribution-id: "my-distribution"distribution-id is the only required input; the distribution ends up in
<source-path, defaults to the working directory>/distributions/<distribution-id>,
which the action reports as its distribution-path output so a caller need not
restate that convention. The
reference covers what else is
available.