Packs an unpacked distribution directory into a gzipped tarball.
- name: "Pack the distribution"
id: "pack-distribution"
uses: "JuliaComputing/create-julia-distribution/pack@958799562b82fcabd2f5508f7ee296e1d91de200"
with:
distribution-path: "${{ steps.build-distribution.outputs.distribution-path }}"The action's own README covers what the tarball holds and why it rejects one containing symlinks on Windows.
| Input | Required | Default | Description |
|---|---|---|---|
compression-level |
no | 6 |
A digit from 1 to 9: how much effort to spend shrinking the tarball, trading storage against compute. 6 is the gzip default. |
distribution-path |
yes | — | The unpacked distribution directory to pack. Its name becomes both the single top-level entry in the tarball and the stem of the tarball's filename. |
| Output | Description |
|---|---|
distribution-tarball-filename |
The tarball's filename, with no directory component. |
distribution-tarball-path |
Absolute path of the tarball, which is written into the workspace. |
On Windows the path can mix \ and /. Both address the same file there, so it
is a path to hand to a tool rather than a string to compare.