Skip to content

Commit

Permalink
Changed how I get yaml files from the examples dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameronsplaze committed Jul 31, 2024
1 parent ef5db3f commit 533cd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cdk-synth-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup matrix
id: setup-matrix
run: |
file_list=$(ls Examples/*.yaml Examples/*.yml)
file_list=$(find ./Examples/ -regextype egrep -regex '.*ya?ml$')
json_list=$(echo $file_list | jq --raw-input --compact-output 'split(" ")')
echo "example-config-files=$json_list" >> "$GITHUB_OUTPUT"
Expand All @@ -24,7 +24,7 @@ jobs:
- setup-matrix
strategy:
matrix:
example-config: ${{fromJson(needs.setup-matrix.outputs.example-config-files)}}
example-config: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 533cd4b

Please sign in to comment.