Warning when using canonical/action-build on CI

We’ve been using the GitHub - canonical/action-build: A Github action for building Snapcraft projects action to do the FreeCAD snap builds in FreeCAD for a while. Only due to a recent issue, I noticed this warning when using the action:

Running snapcraft without a command will not be possible in future releases. Use ‘snapcraft pack’ instead.

There is an existing issue and a pull request to fix this: Run `snapcraft pack` to build, to suppress warnings by joedborg · Pull Request #89 · canonical/action-build · GitHub, but so far it has gone unnoticed. Could perhaps someone at Canonical with the right permissions review/merge that PR? On the other hand, that action appears to be unmaintained: is there another recommended way of building snaps on CI?

Thank you.

Hi - I’ve gotten in touch with who I believe is the maintainer of this repository right now, it should hopefully get merged soon.

I believe a lot of people use the Snapcrafters CI workflows, as an alternative: GitHub - snapcrafters/ci: Repository for shared CI tools and actions

1 Like

Thank you, I really appreciate it.

I didn’t realize these existed, thanks for the tip. However, looking for equivalents of the actions we use below, I could not find any in the list of snapcrafters actions.