Skip to content

Commit

Permalink
try fixing lxd issue ¯\_(ツ)_/
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Oct 10, 2024
1 parent 4c41e11 commit 750b1a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 750b1a6

Please sign in to comment.