Skip to content

Commit

Permalink
ci: fix charm publish action for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
BarcoMasile committed Nov 20, 2024
1 parent 7b02f72 commit fc89c77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ jobs:
echo "setting output of destination_channel=$destination_channel"
echo "::set-output name=destination_channel::$destination_channel"
- name: Setup lxd
uses: canonical/[email protected]
with:
channel: latest/stable

- name: Upload charm to CharmHub
uses: canonical/charming-actions/upload-charm@46fe0c6d63324b5f74ce0e65d6ab47051953cc48 # 2.6.2
with:
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
channel: ${{ steps.parse-inputs.outputs.destination_channel }}
destructive-mode: false
10 changes: 3 additions & 7 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,9 @@ config:
type: boolean


bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"
base: [email protected]
platforms:
amd64:

parts:
charm:
Expand Down

0 comments on commit fc89c77

Please sign in to comment.