snapcore / action-build

A Github action for building Snapcraft projects
MIT License
42 stars 21 forks source link

How to use this action with 'electron-builder'? #28

Open twang2218 opened 2 years ago

twang2218 commented 2 years ago

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:

Is there any thing I'm missing?

andirsun commented 2 years ago

Hey @twang2218 did you solve the issue? I am looking for the same.