Skip to content

Commit

Permalink
ci: fix build to run on non-destructive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 authored and NucciTheBoss committed Jan 7, 2025
1 parent d13e0af commit 55a6c3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ parts:
- astral-uv
charm-requirements: ["requirements.txt"]
override-build: |
# hack to get around a weird incompatibility between destructive and non-destructive mode
cp $CRAFT_PROJECT_DIR/charmcraft.yaml $CRAFT_PART_BUILD/charmcraft.yaml
just requirements
charmcraft fetch-libs
craftctl default
Expand Down

0 comments on commit 55a6c3b

Please sign in to comment.