File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
linux :
15
- runs-on : ubuntu-22 .04
16
- name : Ubuntu 22 .04
15
+ runs-on : ubuntu-24 .04
16
+ name : Ubuntu 24 .04
17
17
env :
18
18
UNIDOC_ENABLE_INDEXSTORE : " 0"
19
19
steps :
20
+ - name : Install Swift
21
+ uses : tayloraswift/swift-install-action@master
22
+ with :
23
+ swift-prefix : " swift-5.10.1-release/ubuntu2404/swift-5.10.1-RELEASE"
24
+ swift-id : " swift-5.10.1-RELEASE-ubuntu24.04"
25
+
26
+ # This installs an older version of Unidoc, not the one we are testing.
27
+ - name : Install Unidoc
28
+ uses : tayloraswift/swift-unidoc-action@master
29
+ with :
30
+ unidoc-version : " master"
31
+
20
32
- name : Checkout repository
21
33
uses : actions/checkout@v3
22
34
25
37
swift --version
26
38
swift build
27
39
40
+ - name : Build documentation
41
+ run : |
42
+ unidoc compile -I .. \
43
+ --swift-toolchain $SWIFT_INSTALLATION \
44
+ --ci fail-on-errors \
45
+ --package-name swift-unidoc
46
+
28
47
macos :
29
48
runs-on : macos-14
30
49
name : macOS
You can’t perform that action at this time.
0 commit comments