Skip to content

Merge pull request #14 from canonical/remove-connection-info #13

Merge pull request #14 from canonical/remove-connection-info

Merge pull request #14 from canonical/remove-connection-info #13

Workflow file for this run

name: Release to 6/edge
on:
push:
branches:
- 6/edge
jobs:
ci-tests:
uses: ./.github/workflows/ci.yaml
secrets: inherit
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v8.0.0
release-charm:
name: Release charm
needs:
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v8.0.0
with:
channel: 6/edge
artifact-name: ${{ needs.build.outputs.artifact-name }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}
permissions:
contents: write # Needed to create GitHub release
release-libraries:
name: Release libraries
runs-on: ubuntu-latest
needs:
- 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 }}