Skip to content

Commit

Permalink
Refactor build-dev-container.yaml to include FOLDERS_JSON output
Browse files Browse the repository at this point in the history
- Add echo statement to display FOLDERS_JSON value
- Include FOLDERS_JSON in the matrix output
  • Loading branch information
npv2k1 committed Feb 2, 2024
1 parent 27cb087 commit f904115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-dev-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
FOLDERS=${FOLDERS//\//} # remove trailing slashes
FOLDERS=${FOLDERS//templates\//} # remove leading 'templates/'
FOLDERS_JSON=$(echo "$FOLDERS" | jq -R -s -c 'split("\n")[:-1]')
echo "FOLDERS_JSON: $FOLDERS_JSON"
echo "::set-output name=matrix::${FOLDERS_JSON}"
build:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit f904115

Please sign in to comment.