Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
johnymontana committed Dec 23, 2024
1 parent 33274e1 commit 3d41ddf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Search for go.mod and package.json files
- name: Search for modus.json files
id: get-dirs
run:
echo "dirs=$(find . \( -name 'go.mod' -o -name 'package.json' -not -path '*/frontend/*' \)
-exec dirname {} \; | sed 's|^\./||' | jq -Rsc 'split("\n")[:-1]')" >> ${GITHUB_OUTPUT}
run: |
echo "dirs=$(find . -name 'modus.json' -exec dirname {} \; | sed 's|^\./||' | jq -Rsc 'split("\n")[:-1]')" >> ${GITHUB_OUTPUT}
build:
needs: get-dirs
Expand Down

0 comments on commit 3d41ddf

Please sign in to comment.