← Back to issue list

[Feature request] Support proper caching when packing multi-architecture charm `craft-action/pack`

View original Github issue

Metadata

Project
craft-actions
Number
#37
Type
issue
State
open
Author
chanchiwai-ray
Labels
Created
2025-03-07 02:31:53+00:00
Updated
2025-08-14 20:13:06+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

For building a multi-architecture charm, it is common to use `matrix.runs-on` to build multi-architecture charm in parallel. However, the cache mechanism in `craft-action/pack` does not this into account when creating the [cache key](https://github.com/canonical/craft-actions/blob/main/charmcraft/pack/action.yaml#L58), so the cache may be overridden or collided. I would like to request a support for this, thanks!

Evaluation history

No evaluation history available.