fix(snap): add missing icons and add review before publish (#957)

This commit is contained in:
Baptiste Augrain 2021-12-18 10:24:44 +01:00 committed by GitHub
parent dfd7ebbf85
commit bbcdc2be11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -130,6 +130,11 @@ jobs:
id: build
if: env.SHOULD_DEPLOY == 'yes'
- uses: diddlesnaps/snapcraft-review-action@v1
with:
snap: ${{ steps.build.outputs.snap }}
isClassic: 'true'
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.SNAP_STORE_LOGIN }}

View file

@ -52,6 +52,7 @@ parts:
- libpcre3
- libpulse0
- libsecret-1-0
- libxshmfence1
- libxss1
- libxtst6
- zlib1g
@ -77,13 +78,14 @@ parts:
apps:
codium:
command: electron-launch $SNAP/usr/share/codium/bin/codium --no-sandbox
common-id: codium.desktop
desktop: usr/share/applications/codium.desktop
environment:
DISABLE_WAYLAND: 1
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
url-handler:
command: electron-launch $SNAP/usr/share/codium/bin/codium --open-url --no-sandbox
desktop: usr/share/applications/codium-url-handler.desktop
environment:
DISABLE_WAYLAND: 1
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas