Skip to content

Commit

Permalink
fix(ci): initialize lxd before packing charm
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
NucciTheBoss committed Nov 25, 2024
1 parent 7e2e7a4 commit 60eae44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
channel: 5.21/stable
- name: Upload charm to charmhub
uses: canonical/charming-actions/[email protected]
with:
Expand Down

0 comments on commit 60eae44

Please sign in to comment.