Skip to content

chore: fix links to repo on proxy charms #6

chore: fix links to repo on proxy charms

chore: fix links to repo on proxy charms #6

Workflow file for this run

# Copyright 2024 Canonical Ltd.
# See LICENSE for licensing details.
name: Release to latest/edge
on:
push:
branches:
- main
jobs:
ci-tests:
uses: ./.github/workflows/ci.yaml
release-to-charmhub:
name: Release to Charmhub
needs:
- ci-tests
runs-on: ubuntu-24.04
strategy:
fail-fast: true
matrix:
charm: [filesystem-client, cephfs-server-proxy, nfs-server-proxy]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Charmhub channel
uses: canonical/charming-actions/[email protected]
id: channel
- name: Install Just
uses: extractions/setup-just@v2
with:
just-version: 1.38.0
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.8"
- name: Install Charmcraft
run: sudo snap install charmcraft --classic --channel latest/stable
- name: Stage charm
run: just repo stage ${{ matrix.charm }} --clean
- name: Setup LXD
uses: canonical/[email protected]
with:
channel: 5.21/stable
- name: Release updated libraries to Charmhub
uses: canonical/charming-actions/[email protected]
with:
credentials: "${{ secrets.CHARMCRAFT_AUTH }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
charm-path: "./_build/${{ matrix.charm }}"
- name: Upload charm to Charmhub
uses: canonical/charming-actions/[email protected]
with:
credentials: "${{ secrets.CHARMCRAFT_AUTH }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "${{ steps.channel.outputs.name }}"
charm-path: "./_build/${{ matrix.charm }}"
tag-prefix: "${{ matrix.charm }}"
destructive-mode: false