Skip to content

Release charm to other tracks and channels #17

Release charm to other tracks and channels

Release charm to other tracks and channels #17

Workflow file for this run

# reusable workflow triggered manually
name: Release charm to other tracks and channels
on:
workflow_dispatch:
inputs:
destination-channel:
description: 'Destination Channel'
required: true
origin-channel:
description: 'Origin Channel'
required: true
jobs:
promote-charm:
name: Promote charm
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Release charm to channel
uses: canonical/charming-actions/release-charm@2.4.0
with:
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
destination-channel: ${{ github.event.inputs.destination-channel }}
origin-channel: ${{ github.event.inputs.origin-channel }}