diff --git a/.github/workflows/release_5_edge.yaml b/.github/workflows/release_5_edge.yaml index 7eaa29f06..ff2509662 100644 --- a/.github/workflows/release_5_edge.yaml +++ b/.github/workflows/release_5_edge.yaml @@ -21,10 +21,24 @@ jobs: with: charmcraft-snap-channel: "latest/edge" - release: + release-charm: + name: Release charm needs: - ci-tests - build + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v5 + with: + channel: 5/edge + artifact-name: ${{ needs.build.outputs.artifact-name }} + secrets: + charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} + permissions: + contents: write # Needed to create GitHub release + + release-lubraries: + name: Release libraries + needs: + - ci-tests steps: - name: Checkout uses: actions/checkout@v3 @@ -35,12 +49,3 @@ jobs: with: credentials: "${{ secrets.CHARMHUB_TOKEN }}" github-token: "${{ secrets.GITHUB_TOKEN }}" - - name: Release charm - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v5 - with: - channel: 5/edge - artifact-name: ${{ needs.build.outputs.artifact-name }} - secrets: - charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} - permissions: - contents: write # Needed to create GitHub release