I'm packaging an electron app, which use electron-builder as the builder/packager. There is no snap/snapcraft.yaml, all the snap settings are put in build.snap section of package.json file.
To build the snap package, yarn build:electron which calls electron-builder for both building and packaging.
It's great to have an official action to build and publish the snapcraft package, but I found it's difficult to use this action, action-build. As we don't use snapcraft.yaml or snapcraft command directly, I can't find a proper way to use this action.
There are 2 ways to use this action, but I cannot find a way to do it:
A build command setting in the action to let user specify which command is used for the build;
A skip build option to let user skip the build part of this action and do the build later manually, only the installation part is used in this action.
I'm packaging an electron app, which use
electron-builder
as the builder/packager. There is nosnap/snapcraft.yaml
, all the snap settings are put inbuild.snap
section ofpackage.json
file.To build the snap package,
yarn build:electron
which callselectron-builder
for both building and packaging.It's great to have an official action to build and publish the snapcraft package, but I found it's difficult to use this action,
action-build
. As we don't usesnapcraft.yaml
orsnapcraft
command directly, I can't find a proper way to use this action.There are 2 ways to use this action, but I cannot find a way to do it:
Is there any thing I'm missing?