Skip to content

publish bundle to charmhub #1

publish bundle to charmhub

publish bundle to charmhub #1

on:
push:
branches:
- main
- track/**
paths:
- releases/**
# only for testing purposes
pull_request:
paths:
- releases/**
jobs:
get-releases-affected:
runs-on: ubuntu-22.04
name: Get releases affected
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name:
id: changed-files-yaml
uses: tj-actions/changed-files@v37
- name:
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
# get-releases-affected:
# [..]
# run-tests-for-releases-affected:
# [..]
# publish-charm:
# needs: run-tests-for-releases-affected
# [..]