Skip to content

Commit

Permalink
Update snapcraft.yml to include LXD installation and initialization, …
Browse files Browse the repository at this point in the history
…start LXD service, and set version dynamically
  • Loading branch information
maizied.majumder committed Oct 26, 2024
1 parent 1301fff commit 62a6dcc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/snapcraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
sudo snap install lxd
sudo lxd init --auto
- name: Start LXD service
run: |
sudo systemctl enable snap.lxd.daemon
sudo systemctl start snap.lxd.daemon
sudo lxd waitready
sudo lxd --version
- name: Set version dynamically
run: |
VERSION="1.0.1-$(git rev-parse --short HEAD)"
Expand All @@ -45,4 +52,4 @@ jobs:
- name: Push Snap to Snap Store
if: success()
run: snapcraft push *.snap --release=stable
run: snapcraft push *.snap --release=stable

0 comments on commit 62a6dcc

Please sign in to comment.