File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 40
40
if : ${{ inputs.use-swiftpm == 'true' }} # Compare to constant to treat empty input as false
41
41
run : |
42
42
set -ex
43
- mkdir "$TARGET.doccarchive" && \
44
43
swift package \
45
44
--allow-writing-to-directory . \
46
45
generate-documentation \
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ runs:
25
25
if : ${{ inputs.xcodebuild != 'true' }} # Compare to constant to treat empty input as false
26
26
run : |
27
27
set -eux
28
- mkdir symbol-graphs
28
+ mkdir -p symbol-graphs
29
29
swift build --target "$TARGET" \
30
30
-Xswiftc -emit-symbol-graph \
31
31
-Xswiftc -emit-symbol-graph-dir -Xswiftc symbol-graphs
32
32
33
33
# Locate relevant symbol graphs and copy them to the target-specific
34
34
# output directory
35
- mkdir "$TARGET-symbol-graphs"
35
+ mkdir -p "$TARGET-symbol-graphs"
36
36
find symbol-graphs -name "$TARGET*.symbols.json" -exec cp {} $TARGET-symbol-graphs ';'
37
37
shell : bash
38
38
working-directory : ${{ inputs.working-directory }}
62
62
63
63
# Locate relevant symbol graphs and copy them to the target-specific
64
64
# output directory
65
- mkdir "$TARGET-symbol-graphs"
65
+ mkdir -p "$TARGET-symbol-graphs"
66
66
find /tmp/data -name "$TARGET*.symbols.json" -exec cp {} $TARGET-symbol-graphs ';'
67
67
shell : bash
68
68
working-directory : ${{ inputs.working-directory }}
You can’t perform that action at this time.
0 commit comments