hasnep/Bundle a Roc library
Bundle and release a Roc library.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 29, 2026
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: hasnep/bundle-roc-library@f9e57fba045b0f90a73fd3b32ea2bb1293edb961 # v0.2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| library | The path to the library's entrypoint file. | yes | — |
| roc-path | The absolute path to Roc. If this variable is not specified the action will try to find Roc using the `PATH` environment variable. | yes | roc |
| bundle-type | The 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 |
| compression | zstd 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. | — | — |
| release | Whether 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' }} |
| tag | The tag of the release to upload to. Defaults to the current event's name. | — | ${{ github.ref }} |
| token | A GitHub token. | — | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| bundle-path | The absolute path to the bundled library. |