We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81a11d7 + f76e1d5 commit fa41497Copy full SHA for fa41497
.github/workflows/build-and-test.yml
@@ -29,6 +29,7 @@ jobs:
29
env:
30
INPUT_PART: ${{ inputs.part }}
31
GITHUB_EVENT_NAME: ${{ github.event_name }}
32
+ ALL_MOD_FILES: ${{ steps.changed-files.outputs.all_modified_files }}
33
run: |
34
if [ "$GITHUB_EVENT_NAME" = "workflow_dispatch" ]; then
35
if [ -n "$INPUT_PART" ]; then
@@ -40,9 +41,10 @@ jobs:
40
41
fi
42
else
43
# Automatic run: use changed-files to determine modified charms
44
+ echo "Modified files to eval: ${ALL_MOD_FILES}"
45
components=()
46
# Retrieve components with a 'tox.ini' file.
- for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
47
+ for file in ${ALL_MOD_FILES} ; do
48
component=$(echo "$file" | cut -d "/" -f1)
49
if [[ -f "./$component/charmcraft.yaml" ]]; then
50
# This is a charm.
0 commit comments