← Back to issue list

feat(pack)!: allow multiple primary artifacts

View original Github issue

Metadata

Project
craft-actions
Number
#106
Type
pull request
State
merged
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR canonical/craft-actions#106: all three pack actions (snapcraft, charmcraft, rockcraft) now emit multiple primary artifacts when several build-ons match. Workflow artifact output fields pluralized — a deliberate breaking API change. Approved by 2 reviewers, CI fully green.

Resolution: closed resolved

Reason: The pull request itself was merged into main by maintainer bepri after two approving reviews and a fully passing CI matrix (only s390x self-hosted jobs pending), with a net simplification of +73/-177 lines across 14 files. The implementation landed directly via this PR.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Fixes an issue where only the Charmcraft pack action supported multiple artifact outputs when multiple `build-on`s matched. Now all three actions share behavior, done through a simpler interface. This takes the opportunity to break the API by making all of the workflow artifact output fields plural, to match expectations --- <sub>Stack created with <a href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR canonical/craft-actions#106: all three pack actions (snapcraft, charmcraft, rockcraft) now emit multiple primary artifacts when several build-ons match. Workflow artifact output fields pluralized — a deliberate breaking API change. Approved by 2 reviewers, CI fully green.
stealth/space-bunny-alpha — closed resolved Merged #106, unifying all three pack actions to support multiple primary artifacts and pluralizing workflow artifact output fields in a breaking API change.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Unifies artifact handling across all pack actions via a breaking API change. Workflow artifact fields are now plural, enabling multiple primary artifacts for multiple build-on targets. Approved and passed CI.

Update history

Date Change
updated
updated
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#105 feat: charmcraft/pack with typescript craft-actions merged Merged PR canonical/craft-actions#105 rewrote charmcraft/pack in TypeScript to match the other pack actions (CRAFT-5205); approved by 2 reviewers, all CI (setup/pack/test-action-code, run-rockcraft-pack-action) passing, +20585/-138 across 14 files.
71%