Skip to content

Commit

Permalink
ci: standardize ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed May 20, 2024
1 parent 7fccd73 commit 141e388
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Promote Charm
# reusable workflow triggered manually
name: Release charm to other tracks and channels

on:
workflow_dispatch:
Expand All @@ -15,11 +16,12 @@ jobs:
name: Promote charm
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Release charm to channel
uses: canonical/charming-actions/release-charm@2.3.0
uses: canonical/charming-actions/release-charm@631c2d944da2bd12430f1f3a954c8fffcf2385cd # 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 }}
base-channel: '22.04'

0 comments on commit 141e388

Please sign in to comment.