Skip to content

Commit 818b0f4

Browse files
authored
Fix Doc GH Action (#56)
* fix errors on docc action * use sh syntax insteda of bash
1 parent 28dbb51 commit 818b0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generate-docs:
1212
# Dynamically add the swift-docc-plugin for doc generation
1313
cp Package.swift Package.swift.bak
1414
for manifest in Package.swift Package@*.swift ; do \
15-
if [[ -f "$$manifest" ]] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \
15+
if [ -f "$$manifest" ] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \
1616
echo "package.dependencies.append(" >> "$$manifest" ; \
1717
echo " .package(url: \"https://github.com/swiftlang/swift-docc-plugin\", from: \"1.4.5\")" >> "$$manifest" ; \
1818
echo ")" >> "$$manifest" ; \

0 commit comments

Comments
 (0)