From eefda5319313c5ec888fd3993f9789dbbccacce8 Mon Sep 17 00:00:00 2001 From: "Jason C. Nucciarone" Date: Mon, 25 Nov 2024 12:14:15 -0500 Subject: [PATCH] fix(ci): initialize lxd before packing charm The `upload-charm` action does not initialize LXD which will cause the worklflow to fail if destructive-mode is set to false. Signed-off-by: Jason C. Nucciarone --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index deecc92..46a0f22 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -42,6 +42,10 @@ jobs: run: pipx install tox - name: Stage charm run: tox run -e stage -- ${{ matrix.charm }} --clean + - name: Setup LXD + uses: canonical/setup-lxd@v0.1.2 + with: + channel: 5.21/stable - name: Upload charm to charmhub uses: canonical/charming-actions/upload-charm@2.5.0-rc with: