Skip to content

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

ci: set up LXD before building the snap

Abdullah Atta0f8317b512af
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml
index 027e769cd..c9535497c 100644
--- a/.github/workflows/desktop.publish.yml
+++ b/.github/workflows/desktop.publish.yml
@@ -255,6 +255,11 @@ jobs:
if: inputs.publish-snap
run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.snapcraft_token }}" >> $GITHUB_ENV
+ # core24 snaps are built by snapcraft inside an LXD container
+ - name: Setup LXD
+ uses: canonical/setup-lxd@v1
+ if: inputs.publish-snap
+
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v3
if: inputs.publish-snap