@@ -48,71 +48,16 @@ jobs:
4848 dist/*.dmg
4949 if-no-files-found : ignore
5050
51- # ---------------------------------------------------------
52- # 2. Snap Store Build
53- # ---------------------------------------------------------
54- snap :
55- name : Snap Store Build
56- runs-on : ubuntu-latest
57- needs : desktop
58- steps :
59- - name : Checkout
60- uses : actions/checkout@v4
61-
62- - name : Setup Node
63- uses : actions/setup-node@v4
64- with :
65- node-version : 24
66-
67- - name : Install Dependencies
68- run : npm ci
69-
70- - name : Build Store-Safe Version
71- run : npm run build:release:store
72-
73- - name : Install Snapcraft
74- uses : samuelmeuli/action-snapcraft@v2
75-
76- # - name: Install LXD
77- # run: |
78- # sudo snap install lxd
79- # sudo lxd waitready
80- # sudo lxd init --auto
81- # sudo usermod -aG lxd $USER
82- # newgrp lxd
83-
84- - name : Pack Snap
85- run : snapcraft pack --provider=bare
86-
87- - name : Snapcraft Login
88- if : startsWith(github.ref, 'refs/tags/')
89- run : |
90- echo "${{ secrets.SNAPCRAFT_LOGIN }}" | base64 -d > snapcraft.creds
91- snapcraft login --with snapcraft.creds
92-
93-
94- - name : Upload Snap Artifact
95- uses : actions/upload-artifact@v4
96- with :
97- name : snap-package
98- path : " *.snap"
99-
100- - name : Publish to Snap Store
101- if : startsWith(github.ref, 'refs/tags/')
102- run : snapcraft upload *.snap --release=stable
103-
104- # ---------------------------------------------------------
105- # 3. Windows Store Build
106- # ---------------------------------------------------------
107- # cut for futher
51+ # attempted to make store releases automated via github and keep hitting issues
52+ # i managed to automate on my server and its a good enough fix for now but will need to look at this again in the future
10853
10954 # ---------------------------------------------------------
11055 # 4. GitHub Release
11156 # ---------------------------------------------------------
11257 release :
11358 name : Create GitHub Release
11459 runs-on : ubuntu-latest
115- needs : [desktop, snap ]
60+ needs : [desktop]
11661 steps :
11762 - name : Download All Artifacts
11863 uses : actions/download-artifact@v4
0 commit comments