Skip to content

Commit

Permalink
Try fixing matrix another way
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirks committed Jun 8, 2024
1 parent 91d3867 commit 9653401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# Like: fabric-runtime/1.2,fabric-runtime/1.3
run: |
SUBFOLDERS=$(find src -mindepth 2 -maxdepth 2 -type d | sed 's|^src/||' | tr '\n' ',')
echo "::set-output name=subfolders::$SUBFOLDERS"
echo "::set-output name=subfolders::[$SUBFOLDERS]"
outputs:
subfolders: ${{ steps.find.outputs.subfolders }}

Expand All @@ -27,7 +27,7 @@ jobs:
needs: find-subfolders
strategy:
matrix:
subfolder: [${{ needs.find-subfolders.outputs.subfolders }}]
subfolder: ${{ fromJson(needs.find-subfolders.outputs.subfolders) }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 9653401

Please sign in to comment.