Skip to content

Commit

Permalink
chore: bump paas-app-charmer (#2006)
Browse files Browse the repository at this point in the history
* chore: bump paas-app-charmer

* run charm pack on PR
  • Loading branch information
M7mdisk authored Oct 4, 2024
1 parent 2645bef commit 0d2562e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
paths:
- 'charm/**' # Only trigger when changes are made to the ./charm/ directory
pull_request:
paths:
- 'charm/**'

jobs:
pack-charm:
Expand All @@ -29,7 +32,7 @@ jobs:
run: charmcraft pack -v --project-dir ./charm

- name: Upload charm
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
CHARMCRAFT_AUTH: ${{ secrets.CHARMHUB_TOKEN }}
run: charmcraft upload ./*.charm

2 changes: 1 addition & 1 deletion charm/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
paas-app-charmer==1.0.4
paas-app-charmer==1.3.1

0 comments on commit 0d2562e

Please sign in to comment.