Add snap publish step

This commit is contained in:
WardPearce
2024-10-29 21:25:02 +13:00
parent 7abde6b429
commit cf3c338645
8 changed files with 21 additions and 9 deletions
-1
View File
@@ -5,7 +5,6 @@ on:
- 'main'
paths-ignore:
- '**/README.md'
- 'flatpak/**'
permissions:
contents: write
+10 -2
View File
@@ -5,7 +5,6 @@ on:
branches: [ main ]
paths-ignore:
- '**/README.md'
- 'flatpak/**'
workflow_dispatch:
@@ -66,4 +65,13 @@ jobs:
if: runner.os == 'Windows'
- name: Build desktop packages
run: cd ./materialious/electron && npm run electron:make
run: cd ./materialious/electron && npm run electron:make
- name: Upload Snap to Snapcraft
if: matrix.runtime == 'linux-x64'
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
with:
snap: ./materialious/electron/dist/*.snap
release: stable
-1
View File
@@ -6,7 +6,6 @@ on:
- main
paths-ignore:
- '**/README.md'
- 'flatpak/**'
jobs:
web-build: