Skip to content

Commit

Permalink
Added --classic to charmcraft snap install (#971)
Browse files Browse the repository at this point in the history
* Added --classic to charmcraft snap install

* Ensure name of snap is correct
  • Loading branch information
kian99 authored Jun 27, 2023
1 parent 8b7cf4e commit 88bdd1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/charm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
with:
name: jimm-snap
- name: Install charmcraft
run: sudo snap install charmcraft --channel=2.x/stable
run: sudo snap install charmcraft --channel=2.x/stable --classic
- name: Publish Charm Resource
run: charmcraft upload-resource juju-jimm jimm-snap --filepath ./jimm-snap
run: charmcraft upload-resource juju-jimm jimm-snap --filepath ./jimm.snap
env:
CHARMCRAFT_AUTH: "${{ secrets.CHARMHUB_TOKEN }}"
- name: Upload charm to charmhub
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: sudo snap install snapcraft --channel=7.x/stable --classic
- run: mkdir -p snap
- run: cp ./snaps/jimm/snapcraft.yaml ./snap/snapcraft.yaml
- run: snapcraft --destructive-mode
- run: snapcraft --destructive-mode --output jimm.snap
- uses: actions/upload-artifact@v3
with:
name: jimm-snap
Expand Down

0 comments on commit 88bdd1e

Please sign in to comment.