-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
58 lines (58 loc) · 2.22 KB
/
action.yml
File metadata and controls
58 lines (58 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: 'Setup Metanorma'
description: 'Set up metanorma toolchain and add the command-line tools to the PATH'
author: 'Metanorma'
branding:
icon: 'book-open'
color: 'blue'
inputs:
version:
description: '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'
default: ''
snap-channel:
description: 'Snapcraft channel, more details https://snapcraft.io/docs/channels'
default: 'stable'
choco-prerelase:
description: Allow prerelases for chocolatey packages
default: ''
installation-method:
description: |
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)
default: 'auto'
gemfile:
description: 'Path to custom Gemfile for gem-based installation'
default: ''
bundler-version:
description: 'Bundler version for gem-based installation'
default: '2.6.5'
fontist-update:
description: 'Update fontist formulas after gem installation (default: true)'
default: 'true'
bundle-update:
description: 'Update dependencies while keeping metanorma-cli version pinned (gem installation only)'
default: 'false'
use-prebuilt-locks:
description: 'Use pre-tested Gemfile.lock files from metanorma/versions repository (default: true)'
default: 'true'
extra-flavors:
description: 'Space-separated list of extra flavor gems to install (e.g., "bsi nist ribose")'
default: ''
github-packages-token:
description: 'GitHub token to access private packages at rubygems.pkg.github.com/metanorma (required for bsi, nist flavors)'
default: ''
outputs:
version:
description: 'The installed Metanorma version'
platform:
description: 'The platform Metanorma was installed on'
installation-method:
description: 'The installation method used'
idempotent:
description: 'Whether the action detected an existing installation (true) or performed a new installation (false)'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'
post-if: always()