Skip to content

Small fixes for the agent-host charm tests (#326) #2

Small fixes for the agent-host charm tests (#326)

Small fixes for the agent-host charm tests (#326) #2

name: Release testflinger-agent-host charm to latest/edge
on:
push:
branches:
- main
paths:
- agent/charms/testflinger-agent-host-charm/**
- .github/workflows/agent-host-charm-release-edge.yml
workflow_dispatch:
jobs:
agent-build-and-push-charm:
runs-on: [self-hosted, linux, jammy, X64]
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Upload charm to charmhub
uses: canonical/charming-actions/upload-charm@2.6.0
with:
charm-path: agent/charms/testflinger-agent-host-charm
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
channel: "latest/edge"