File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,10 +81,17 @@ jobs:
8181 --transform-for-static-hosting \
8282 --hosting-base-path TAKPacket-SDK/swift \
8383 --output-path docc-out
84+ - name : Package DocC output
85+ # DocC emits a data file per symbol, including synthesized operators like
86+ # "!=(_:_:).json". actions/upload-artifact rejects ":" in file names (an
87+ # NTFS-compat rule), so tar the tree to carry those names inside the
88+ # archive. The deploy job untars it; Pages' own upload-pages-artifact also
89+ # tars, so serving the ":" files works fine.
90+ run : tar -czf docc-swift.tgz -C docc-out .
8491 - uses : actions/upload-artifact@v7
8592 with :
8693 name : docs-swift
87- path : docc-out
94+ path : docc-swift.tgz
8895
8996 typescript :
9097 name : TypeScript (TypeDoc)
@@ -174,7 +181,11 @@ jobs:
174181 - uses : actions/download-artifact@v7
175182 with :
176183 name : docs-swift
177- path : site/swift
184+ path : swift-artifact
185+ - name : Unpack Swift DocC
186+ run : |
187+ mkdir -p site/swift
188+ tar -xzf swift-artifact/docc-swift.tgz -C site/swift
178189 - uses : actions/download-artifact@v7
179190 with :
180191 name : docs-typescript
You can’t perform that action at this time.
0 commit comments