Skip to content

Merge pull request #80 from charmed-kubernetes/feature/relation/tls-c… #38

Merge pull request #80 from charmed-kubernetes/feature/relation/tls-c…

Merge pull request #80 from charmed-kubernetes/feature/relation/tls-c… #38

Workflow file for this run

name: Release to latest/edge
on:
push:
branches:
- main
paths-ignore:
- ".github/**"
- ".gitignore"
- "tox.ini"
jobs:
test:
uses: ./.github/workflows/build-and-test.yaml
secrets:
CHARMHUB_TOKEN: "${{ secrets.CHARMHUB_TOKEN }}"
release-to-charmhub:
name: Release to CharmHub
needs:
- test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
with:
fetch-depth: 0
- name: Select charmhub channel
uses: canonical/charming-actions/channel@e60e65a61eb6b7459716e55c7c7f8bc97d6ff02c # 2.2.5
id: channel
- name: Upload charm to charmhub
uses: canonical/charming-actions/upload-charm@e60e65a61eb6b7459716e55c7c7f8bc97d6ff02c # 2.2.5
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "${{ steps.channel.outputs.name }}"