Skip to content

Commit

Permalink
Fix doc extraction.
Browse files Browse the repository at this point in the history
Jazzy chokes on target names with '-' in them and wants it changed to '_'.
  • Loading branch information
dabrahams committed Sep 7, 2023
1 parent 341e26c commit 246c652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/doc-extraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
EXTRACTION_TARGETS=$(
swift package dump-package |
jq '.targets | map(select(.type | test("^(regular|executable)$"))) | .[].name' |
sed -e 's/-/_/g' |
xargs
)
" >> "${GITHUB_ENV}"
Expand Down

0 comments on commit 246c652

Please sign in to comment.