Skip to content

Commit ccf36be

Browse files
committed
ci: Fix documentation command permissions, and input comparison
1 parent cc0eb3c commit ccf36be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/actions/compile-docs/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ runs:
2424
set -ex
2525
mkdir "$TARGET.doccarchive" && \
2626
swift package \
27-
--allow-writing-to-directory "$TARGET.doccarchive" \
27+
--allow-writing-to-directory . \
2828
generate-documentation \
2929
--target "$TARGET" \
30+
--disable-indexing \
3031
--transform-for-static-hosting \
3132
--hosting-base-path swift-cross-ui \
3233
--output-path "$TARGET.doccarchive" \
@@ -38,7 +39,7 @@ runs:
3839
env:
3940
TARGET: ${{ inputs.target }}
4041
- name: Compile documentation (with xcodebuild)
41-
if: ${{ inputs.xcodebuild == true }} # Compare to constant to treat empty input as false
42+
if: ${{ inputs.xcodebuild == "true" }} # Compare to constant to treat empty input as false
4243
run: |
4344
set -ex
4445
destination=""

0 commit comments

Comments
 (0)