Skip to content

Commit 37c35a9

Browse files
committed
ci: Fix incorrect bash if condition syntax
1 parent d57af24 commit 37c35a9

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
@@ -75,14 +75,15 @@ runs:
7575
run: |
7676
set -eux
7777
catalog="$DOCC_CATALOG"
78-
if [[ catalog == "" ]]; then
78+
if [[ $catalog == "" ]]; then
7979
catalog="$TARGET.docc"
8080
mkdir "$catalog"
8181
fi
8282
symbol_graph_dir="$SYMBOL_GRAPH_DIR"
83-
if [[ symbol_graphs_dir == "" ]]; then
83+
if [[ $symbol_graphs_dir == "" ]]; then
8484
symbol_graph_dir="$TARGET-symbol-graphs"
8585
fi
86+
echo $symbol_graph_dir
8687
xcrun docc convert "$catalog" \
8788
--additional-symbol-graph-dir $symbol_graph_dir \
8889
--transform-for-static-hosting \

0 commit comments

Comments
 (0)