Skip to content

Commit

Permalink
Fix release workflow (#294)
Browse files Browse the repository at this point in the history
## Issue
Current release workflow do not release the libraries

## Solution
Update the release workflow to fix the issue
  • Loading branch information
dmitry-ratushnyy authored Nov 2, 2023
1 parent fc891d5 commit 876e26d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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 }}"

0 comments on commit 876e26d

Please sign in to comment.