Skip to content

Commit

Permalink
Fix test workflow dispatch when projects are provided (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon authored Jan 8, 2025
1 parent 78f098c commit 970bf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- id: set-matrix
run: |
if [ -n "${{ env.PROJECTS }}" ]; then
echo "matrix=$(echo ${{ env.PROJECTS }} | sed 's/, */,/g' | tr ',' '\n' | jq --raw-input . | jq -c --slurp .)" >> $GITHUB_OUTPUT
echo "matrix=$(echo "${{ env.PROJECTS }}" | sed 's/, */,/g' | tr ',' '\n' | jq --raw-input . | jq -c --slurp .)" >> $GITHUB_OUTPUT
else
if [[ -n "${{ toJson(needs.list_changed_directories.outputs.projects) }}" ]]; then
echo "matrix=${{ toJson(needs.list_changed_directories.outputs.projects) }}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 970bf64

Please sign in to comment.