From fa7a952850213278141995d8bd252163a13b8ad7 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sat, 22 Aug 2026 20:03:10 +0200 Subject: [PATCH] ci: tryfix snap building --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 065cdc3..b21226a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,6 +98,15 @@ jobs: snap-file: ${{ steps.build-snap.outputs.snap }} steps: - uses: actions/checkout@v6 + # The runner image does not ship a running snapd (and package scripts + # don't autostart it), while snapcore/action-build expects a live + # snapd.socket to install snapcraft and LXD. Bootstrap it explicitly. + - name: Bootstrap snapd + run: | + sudo apt-get update -q + sudo apt-get install -qy snapd + sudo systemctl start snapd.socket + sudo snap wait system seed.loaded - uses: snapcore/action-build@v1 id: build-snap - uses: actions/upload-artifact@v4