From 3d450e070efe9dd8401a7138042502790e5b0f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Stormacq?= Date: Wed, 22 Oct 2025 10:00:37 +0200 Subject: [PATCH 1/2] fix errors on docc action --- .github/workflows/doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index ae3af90..9582448 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -30,7 +30,7 @@ jobs: uses: actions/configure-pages@v5 - name: Build DocC run: | - make generate-doc + make generate-docs - name: Upload artifact uses: actions/upload-pages-artifact@v4 with: From 8be89c2716d8a62813e2db61128ac84cbd2a4aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Stormacq?= Date: Wed, 22 Oct 2025 10:07:58 +0200 Subject: [PATCH 2/2] use sh syntax insteda of bash --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index beff561..af96807 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ generate-docs: # Dynamically add the swift-docc-plugin for doc generation cp Package.swift Package.swift.bak for manifest in Package.swift Package@*.swift ; do \ - if [[ -f "$$manifest" ]] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \ + if [ -f "$$manifest" ] && ! grep -E -i "https://github.com/(apple|swiftlang)/swift-docc-plugin" "$$manifest" ; then \ echo "package.dependencies.append(" >> "$$manifest" ; \ echo " .package(url: \"https://github.com/swiftlang/swift-docc-plugin\", from: \"1.4.5\")" >> "$$manifest" ; \ echo ")" >> "$$manifest" ; \