Skip to content

fix: merge integration tests into single file #29

fix: merge integration tests into single file

fix: merge integration tests into single file #29

Workflow file for this run

# reusable workflow triggered manually
name: Release charm to other tracks and channels
on:
workflow_dispatch:
<<<<<<< Updated upstream

Check failure on line 6 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
push:
branches:
- main
=======
inputs:
destination-channel:
description: 'Destination Channel'
required: true
origin-channel:
description: 'Origin Channel'
required: true
>>>>>>> Stashed changes
jobs:
promote-charm:
name: Promote charm
runs-on: ubuntu-22.04
steps:
<<<<<<< Updated upstream
- name: Checkout
uses: actions/checkout@v3
- name: Release any bumped charm libs
uses: canonical/charming-actions/[email protected]
with:
charm-path: "./charms/openfga-k8s"
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Build local images
run: make build-image
- name: Upload charm to charmhub
uses: kian99/charming-actions/upload-charm@add-local-image-option
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "latest/edge"
charm-path: "./charms/openfga-k8s"
local-image: "true"
=======
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Release charm to channel
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'
>>>>>>> Stashed changes