Skip to content

Commit

Permalink
Update release libraries workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Oct 31, 2023
1 parent 11a7de8 commit b747802
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/release_5_edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b747802

Please sign in to comment.