Update dependencies of the charm (#313) #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Release to latest/edge | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
ci-tests: | |
name: Tests | |
uses: ./.github/workflows/ci.yaml | |
secrets: inherit | |
# release-libraries: | |
# name: Release libraries | |
# needs: | |
# - ci-tests | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 60 | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# with: | |
# fetch-depth: 0 | |
# - name: Release charm libraries | |
# uses: canonical/charming-actions/[email protected] | |
# with: | |
# credentials: ${{ secrets.CHARMHUB_TOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
build: | |
name: Build charm | |
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
release: | |
name: Release charm | |
needs: | |
- build | |
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
with: | |
channel: 2/edge | |
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} | |
secrets: | |
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} | |
permissions: | |
contents: write # Needed to create GitHub release |