We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a426ce3 commit a7cfb26Copy full SHA for a7cfb26
.github/workflows/all-test.yml
@@ -74,9 +74,8 @@ jobs:
74
- name: List packages
75
id: packages
76
run: |
77
- dirs=$(find . -type d -printf "\"%p\",")
78
- json_array=$(echo "[$dirs]" | sed 's/,$//' | jq -c '.')
79
- echo "packages=$json_array" >> "$GITHUB_OUTPUT"
+ DIRS=$(find . -maxdepth 1 -mindepth 1 -type d -printf '"%f"\n' | tr '\n' ',' | sed 's/,$//')
+ echo "packages=[$DIRS]" >> $GITHUB_OUTPUT
80
working-directory: pkg/
81
82
test_packages:
0 commit comments