File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,15 @@ jobs:
2727 - name : ' Install Dependencies'
2828 run : npm ci
2929
30- - name : ' Build Application Packages '
30+ - name : ' Build .deb (Electron Forge) '
3131 run : npm run make
3232 env :
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3434
35- - name : ' Pack Snap'
36- id : snap-build
37- run : |
38- # --destructive-mode allows building without a VM/Container
39- sudo snapcraft pack --destructive-mode
40- # Set the snap path as an output for the next steps
41- echo "SNAP_PATH=$(ls *.snap | head -n 1)" >> $GITHUB_ENV
35+ - name : ' Build .snap (Snapcraft)'
36+ run : npm run make:snap
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4239
4340 - name : ' Upload .deb to Release'
4441 run : |
5350 env :
5451 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5552
56- - name : ' Publish to Snap Store'
53+ - name : ' Upload .snap to Snap Store'
5754 uses : snapcore/action-publish@v1
55+ run : |
56+ echo "SNAP_PATH=$(find ./out/make/snap -name "*.snap" -type f | head -n 1)" >> $GITHUB_ENV
5857 with :
5958 store_login : ${{ secrets.SNAPCRAFT_LOGIN }}
6059 file : ${{ env.SNAP_PATH }}
Original file line number Diff line number Diff line change 2626parts :
2727 app :
2828 plugin : dump
29- source : ./ out/xibo-electron-linux-x64
29+ source : out/xibo-electron-linux-x64
3030 source-type : local
3131 stage-packages :
3232 - libglib2.0-0
You can’t perform that action at this time.
0 commit comments