Skip to content

feat(flavors): add extra flavors support with GitHub Packages authentication#29

Merged
ronaldtse merged 1 commit into
mainfrom
feat/add-extra-flavors-support
Feb 17, 2026
Merged

feat(flavors): add extra flavors support with GitHub Packages authentication#29
ronaldtse merged 1 commit into
mainfrom
feat/add-extra-flavors-support

Conversation

@ronaldtse
Copy link
Copy Markdown
Contributor

@ronaldtse ronaldtse commented Feb 17, 2026

Summary

Add ability to install private metanorma flavor gems (bsi, nist, plateau) directly through the setup action, consolidating functionality from the separate setup-flavors action.

New Inputs

Input Description Default
extra-flavors Space-separated list of extra flavor gems (e.g., "bsi nist ribose") ''
github-packages-token GitHub token for private packages at rubygems.pkg.github.com/metanorma ''

Private flavors (require github-packages-token): bsi, nist, plateau

Features

  • Configure bundler for GitHub Packages authentication
  • Install public flavors from RubyGems
  • Install private flavors from GitHub Packages
  • BSI-specific fontist private formulas setup

Usage

Users can now install both metanorma and private flavors in a single step:

- uses: actions-mn/setup@v3
  with:
    installation-method: gem
    extra-flavors: bsi nist
    github-packages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}

This replaces the previous two-step process:

- uses: actions-mn/setup@v3
- uses: actions-mn/setup-flavors@main
  with:
    extra-flavors: bsi nist
    github-packages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}

Test Plan

  • Unit tests for FlavorInstaller class (9 tests)
  • Unit tests for flavor type helpers (6 tests)
  • Unit tests for input parsing (5 new tests)
  • All 138 tests pass
  • Build succeeds

@ronaldtse ronaldtse force-pushed the feat/add-extra-flavors-support branch 3 times, most recently from 2d939bc to 1240d88 Compare February 17, 2026 02:26
@ronaldtse ronaldtse force-pushed the feat/add-extra-flavors-support branch from 1240d88 to 2fbbf6c Compare February 17, 2026 07:28
…ication

Add ability to install private metanorma flavor gems (bsi, nist, plateau)
directly through the setup action, consolidating functionality from the
separate setup-flavors action.

New inputs:
- extra-flavors: Space-separated list of flavor gems to install
- github-packages-token: Token for private packages at rubygems.pkg.github.com/metanorma

Features:
- Configure bundler for GitHub Packages authentication
- Install public flavors from RubyGems
- Install private flavors from GitHub Packages
- BSI-specific fontist private formulas setup

This allows users to install both metanorma and private flavors in a single step:

  - uses: actions-mn/setup@v3
    with:
      installation-method: gem
      extra-flavors: bsi nist
      github-packages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@ronaldtse ronaldtse force-pushed the feat/add-extra-flavors-support branch from 2fbbf6c to 7117a5b Compare February 17, 2026 08:21
@ronaldtse ronaldtse merged commit 43f3a54 into main Feb 17, 2026
38 checks passed
@ronaldtse ronaldtse deleted the feat/add-extra-flavors-support branch February 17, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant