Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.29 KB

pack.md

File metadata and controls

31 lines (23 loc) · 1.29 KB

create-julia-distribution/pack

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.

Inputs

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.

Outputs

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.