File tree Expand file tree Collapse file tree 4 files changed +7
-93
lines changed
Expand file tree Collapse file tree 4 files changed +7
-93
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5858 ]
5959 }
6060
61- ci :
62- name : CI
61+ docs :
62+ name : Docs
6363 if : github.event_name == 'push'
6464 needs : [analysis, swift-package-test]
65- uses : danthorpe/ci/.github/workflows/ci.yml@main
65+ uses : danthorpe/ci/.github/workflows/docs.yml@main
66+ with :
67+ os : ' macos-14'
68+ targets : ' ["Cache","Protected","ShortID"]'
69+ basepath : ' swift-utilities'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,22 +13,6 @@ default:
1313test-all :
1414 swift test
1515
16- docs-all :
17- $(MAKE ) docs output=$(output ) tag=$(tag ) basepath=$(basepath ) target=Cache
18- $(MAKE ) docs output=$(output ) tag=$(tag ) basepath=$(basepath ) target=Protected
19- $(MAKE ) docs output=$(output ) tag=$(tag ) basepath=$(basepath ) target=ShortID
20-
2116test-linux :
2217 docker build -f Dockerfile -t linuxtest .
2318 docker run linuxtest
24-
25- docs :
26- mkdir -p $(output ) /$(tag ) /$(target )
27- swift package \
28- --allow-writing-to-directory $(output ) /$(tag ) /$(target ) \
29- generate-documentation --target $(target ) \
30- --output-path $(output ) /$(tag ) /$(target ) \
31- --transform-for-static-hosting \
32- --hosting-base-path /$(basepath ) /$(tag ) /$(target ) \
33- && echo " ✅ Documentation generated for $( target) @ $( tag) release." \
34- || echo " ⚠️ Documentation skipped for $( target) @ $( tag) ."
You can’t perform that action at this time.
0 commit comments