Skip to content

Commit

Permalink
ci: bop
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRosca committed Jan 25, 2024
1 parent 53ea42f commit 60dbf4b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
- name: Get Changed Files
id: changed
uses: jitterbit/get-changed-files@v1
with:
format: 'json'

- name: Find meta.yaml files
- name: Find recipe.yaml files
run: |
changed="${{ steps.changed.outputs.added_modified }}"
changed=$(echo $changed | grep -Eo "custom-recipes/recipes/[^/]*/recipe.yaml")
changed=$(echo $changed | tr -d '\n' | jq -R -s -c 'split(" ")')
changed=$(jq '[.[] | select(. | contains("recipe.yaml"))]' <<< '${{steps.changed.outputs.added_modified}}')
echo $changed
echo "matrix=${changed}" >> "$GITHUB_OUTPUT"
build:
Expand Down

0 comments on commit 60dbf4b

Please sign in to comment.