actions-mn/Setup Metanorma
Set up metanorma toolchain and add the command-line tools to the PATH
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 13, 2026
- Maintenance Recency
- Activelast commit Feb 17, 2026
- License
- MIT
Pinned Snippet
uses: actions-mn/setup@dca4fcaabb95af1a9776e5a9dd5df22746359115 # v3.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Version of metanorma-cli gem to install. For gem installations: empty (default) respects Gemfile.lock, "latest" runs bundle update, or specific version like "1.7.1" pins that version | — | "" |
| snap-channel | Snapcraft channel, more details https://snapcraft.io/docs/channels | — | stable |
| choco-prerelase | Allow prerelases for chocolatey packages | — | "" |
| installation-method | Installation method: 'auto' (default), 'native', 'gem' - auto: Auto-detect based on environment - native: Force native package manager (brew/snap/choco) - gem: Install via bundle (requires Ruby setup first) | — | auto |
| gemfile | Path to custom Gemfile for gem-based installation | — | "" |
| bundler-version | Bundler version for gem-based installation | — | 2.6.5 |
| fontist-update | Update fontist formulas after gem installation (default: true) | — | true |
| bundle-update | Update dependencies while keeping metanorma-cli version pinned (gem installation only) | — | false |
| use-prebuilt-locks | Use pre-tested Gemfile.lock files from metanorma/versions repository (default: true) | — | true |
| extra-flavors | Space-separated list of extra flavor gems to install (e.g., "bsi nist ribose") | — | "" |
| github-packages-token | GitHub token to access private packages at rubygems.pkg.github.com/metanorma (required for bsi, nist flavors) | — | "" |
Outputs
| name | description |
|---|---|
| version | The installed Metanorma version |
| platform | The platform Metanorma was installed on |
| installation-method | The installation method used |
| idempotent | Whether the action detected an existing installation (true) or performed a new installation (false) |