-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Issue Current release workflow do not release the libraries ## Solution Update the release workflow to fix the issue
- Loading branch information
1 parent
fc891d5
commit 876e26d
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
|
||
build: | ||
name: Build charm | ||
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v5 | ||
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v5.1.2 | ||
with: | ||
charmcraft-snap-channel: "latest/stable" | ||
|
||
|
@@ -34,3 +34,20 @@ jobs: | |
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} | ||
permissions: | ||
contents: write # Needed to create GitHub release | ||
|
||
release-libraries: | ||
name: Release libraries | ||
runs-on: ubuntu-latest | ||
needs: | ||
- ci-tests | ||
- release-charm | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Release any bumped charm libs | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
credentials: "${{ secrets.CHARMHUB_TOKEN }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |