Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ci: use `SNAPCRAFT_STORE_CREDENTIALS` instead of `--with` for snapcraft auth

Abdullah Atta4b138a5d42b7
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml
index 07992bb9d..c29239329 100644
--- a/.github/workflows/desktop.publish.yml
+++ b/.github/workflows/desktop.publish.yml
@@ -77,11 +77,12 @@ jobs:
name: build
path: ./apps/web/desktop/build
+ - name: Setup Snapcraft Auth
+ run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.snapcraft_token }}" >> $GITHUB_ENV
+
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
if: startsWith(matrix.os, 'ubuntu')
- with:
- snapcraft_token: ${{ secrets.snapcraft_token }}
- name: Prepare for app notarization (macOS)
if: startsWith(matrix.os, 'macos')