hasnep/Bundle a Roc library

Bundle and release a Roc library.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 29, 2026
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: hasnep/bundle-roc-library@f9e57fba045b0f90a73fd3b32ea2bb1293edb961 # v0.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
libraryThe path to the library's entrypoint file.yes
roc-pathThe absolute path to Roc. If this variable is not specified the action will try to find Roc using the `PATH` environment variable.yesroc
bundle-typeThe filetype of the bundled library, either `.tar`, `.tar.gz` or `.tar.br`. Only applies to the legacy Roc CLI; ignored (with a warning) on the new `roc bundle` CLI, which always produces `.tar.zst`. Defaults to `.tar.br`..tar.br
compressionzstd compression level (1–22) for the new `roc bundle` CLI. Ignored (with a warning) on the legacy CLI. If unset, the compiler's default is used.
releaseWhether or not the bundled library should be uploaded to the repository's releases. Defaults to only uploading when the action is triggered by a release event.yes${{ github.event_name == 'release' }}
tagThe tag of the release to upload to. Defaults to the current event's name.${{ github.ref }}
tokenA GitHub token.${{ github.token }}
namedescription
bundle-pathThe absolute path to the bundled library.