Skip to content

Commit

Permalink
publish bundle to charmhub
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Aug 8, 2023
1 parent a51aca0 commit ee5a2c5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release-bundle-to-charmhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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
# [..]

0 comments on commit ee5a2c5

Please sign in to comment.