Skip to content

Commit

Permalink
Merge pull request #70 from canonical/IAM-1205-use-ubuntu-24-04-as-th…
Browse files Browse the repository at this point in the history
…e-base-for-ci

Fix charm publish action for Ubuntu 24.04
  • Loading branch information
BarcoMasile authored Nov 20, 2024
2 parents 7b02f72 + fc89c77 commit 580681e
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 580681e

Please sign in to comment.