mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
desktop: publish app to snapcraft
This commit is contained in:
6
.github/workflows/desktop.publish.yml
vendored
6
.github/workflows/desktop.publish.yml
vendored
@@ -77,6 +77,12 @@ jobs:
|
||||
name: build
|
||||
path: ./apps/web/desktop/build
|
||||
|
||||
- name: Install Snapcraft
|
||||
uses: samuelmeuli/action-snapcraft@v1
|
||||
if: startsWith(matrix.os, 'linux')
|
||||
with:
|
||||
snapcraft_token: ${{ secrets.snapcraft_token }}
|
||||
|
||||
- name: Prepare for app notarization (macOS)
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
# Import Apple API key for app notarization on macOS
|
||||
|
||||
@@ -127,13 +127,19 @@
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb",
|
||||
"rpm"
|
||||
"rpm",
|
||||
"snap"
|
||||
],
|
||||
"category": "Office",
|
||||
"icon": "assets/icons/app.icns",
|
||||
"description": "Your private note taking space",
|
||||
"executableName": "Notesnook"
|
||||
},
|
||||
"snap": {
|
||||
"autoStart": false,
|
||||
"confinement": "strict",
|
||||
"allowNativeWayland": true
|
||||
},
|
||||
"extraResources": [
|
||||
"./assets/**"
|
||||
],
|
||||
@@ -141,10 +147,18 @@
|
||||
"buildResources": "assets",
|
||||
"output": "./dist/"
|
||||
},
|
||||
"publish": {
|
||||
"provider": "github",
|
||||
"repo": "notesnook",
|
||||
"owner": "streetwriters"
|
||||
}
|
||||
"publish": [
|
||||
{
|
||||
"provider": "github",
|
||||
"repo": "notesnook",
|
||||
"owner": "streetwriters"
|
||||
},
|
||||
{
|
||||
"provider": "snapStore",
|
||||
"repo": "notesnook",
|
||||
"channels": "stable",
|
||||
"publishAutoUpdate": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user