diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aec21b1..9c47a3b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -77,9 +77,24 @@ jobs: if: startsWith(matrix.os, 'macos-14') run: sudo launchctl limit maxfiles 999999 999999 + # snapcraft specific + - name: Setup LXD + uses: canonical/setup-lxd@main + if: startsWith(matrix.os, 'ubuntu') + with: + group: lxd + channel: latest/stable + + - name: Add user to the LXD (lxd) group + if: startsWith(matrix.os, 'ubuntu') + run: | + sudo usermod -a -G lxd ${USER} + newgrp lxd + - name: Install snapcraft for linux if: startsWith(matrix.os, 'ubuntu') run: sudo apt-get install snapcraft + # end snapcraft specific - name: Sign & Publish Electron app run: yarn publish