File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 run : swift build -v
1818 - name : Run tests
1919 run : swift test -v
20+ - name : Resolve Package Dependencies
21+ run : swift package resolve
22+
23+ - name : Generate Documentation
24+ run : |
25+ swift package generate-documentation \
26+ --target PartialJSON \
27+ --disable-indexing \
28+ --transform-for-static-hosting \
29+ --hosting-base-path PartialJSON \
30+ --output-path ./docs
31+ continue-on-error : false
32+
33+ - name : Upload Documentation to GitHub Pages
34+ uses : peaceiris/actions-gh-pages@v3
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./docs
2038
2139 lint :
2240 name : SwiftLint
4765 uses : SwiftyLab/setup-swift@latest
4866 with :
4967 swift-version : ' 5.9'
50-
51- - name : Resolve Package Dependencies
52- run : swift package resolve
53-
54- - name : Generate Documentation
55- run : |
56- swift package generate-documentation \
57- --target PartialJSON \
58- --disable-indexing \
59- --transform-for-static-hosting \
60- --hosting-base-path PartialJSON \
61- --output-path ./docs
62- continue-on-error : false
63-
64- - name : Upload Documentation to GitHub Pages
65- uses : peaceiris/actions-gh-pages@v3
66- with :
67- github_token : ${{ secrets.GITHUB_TOKEN }}
68- publish_dir : ./docs
69-
68+
7069 validate-documentation :
7170 name : Validate Documentation
7271 runs-on : macos-latest
You can’t perform that action at this time.
0 commit comments