Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from jat-canonical/test-arm-runner
Browse files Browse the repository at this point in the history
fix(ci): use correct version variable to pass into the release job
  • Loading branch information
morphis authored Apr 5, 2024
2 parents 6c799e7 + b776d07 commit 37a4d24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/get-version.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Get current version
name: Get current charm version

on:
workflow_call:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:

jobs:
get-version:
name: Get Charm Version
uses: ./.github/workflows/get-version.yaml

ci:
Expand All @@ -26,15 +27,15 @@ jobs:
snap_risk_level: edge

release:
name: Release charm
name: Release to edge
needs:
- ci
- get-version
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
# TODO: change this when we actually want to cutover the charm to main
# channels
channel: "${{ needs.get-version.outputs.version }}-ops/edge"
channel: "${{ needs.get-version.outputs.charm_version }}-ops/edge"
artifact-prefix: ${{ needs.ci.outputs.artifact-prefix }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}

0 comments on commit 37a4d24

Please sign in to comment.