Problem
The Snap publish workflow produces a deprecation warning:
Running snapcraft without a command will not be possible in future releases. Use 'snapcraft pack' instead.
This comes from snapcore/action-build@v1 which calls snapcraft without the pack subcommand.
Impact
Non-blocking now. Will break when Snapcraft removes the implicit pack behavior (likely Snapcraft 9.x).
Blocked on
snapcore/action-build upstream — no v2 release or fix available yet
- Neither
snapcore/action-build nor canonical/action-build have released a version that uses snapcraft pack
Workaround options
- Wait for upstream fix
- Replace action with manual
snapcraft pack call in the workflow
- Pin snapcraft version to avoid future breakage
References
Problem
The Snap publish workflow produces a deprecation warning:
This comes from
snapcore/action-build@v1which callssnapcraftwithout thepacksubcommand.Impact
Non-blocking now. Will break when Snapcraft removes the implicit
packbehavior (likely Snapcraft 9.x).Blocked on
snapcore/action-buildupstream — no v2 release or fix available yetsnapcore/action-buildnorcanonical/action-buildhave released a version that usessnapcraft packWorkaround options
snapcraft packcall in the workflowReferences