diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e7b9790c..fa5e48924 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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/release-libraries@2.2.2 + with: + credentials: "${{ secrets.CHARMHUB_TOKEN }}" + github-token: "${{ secrets.GITHUB_TOKEN }}"