File tree 1 file changed +63
-0
lines changed
1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Build and Test"
2
+
3
+ on :
4
+ push :
5
+ branches-ignore :
6
+ - " main"
7
+ - " develop"
8
+ - " deployment"
9
+ - " preview-deployment"
10
+
11
+ pull_request :
12
+ merge_group :
13
+
14
+ env :
15
+ ARTIFACT : " webHelpDHUB2-all.zip"
16
+ DOCKER_VERSION : " 243.21565"
17
+ INSTANCE : " Writerside/dhub"
18
+
19
+ jobs :
20
+ build :
21
+ runs-on : ubuntu-latest
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+
26
+ - name : Set up Kotlin
27
+ uses : fwilhe2/setup-kotlin@main
28
+
29
+ - name : Calculate latest Dungeon Hub API version
30
+ run : kotlin .github/set-version.main.kts
31
+
32
+ - uses : JetBrains/writerside-github-action@v4
33
+
34
+ with :
35
+ instance : ${{ env.INSTANCE }}
36
+ artifact : ${{ env.ARTIFACT }}
37
+ docker-version : ${{ env.DOCKER_VERSION }}
38
+
39
+ - uses : actions/upload-artifact@v4
40
+
41
+ with :
42
+ name : docs
43
+ path : |
44
+ artifacts/${{ env.ARTIFACT }}
45
+ artifacts/report.json
46
+
47
+ retention-days : 7
48
+
49
+ test :
50
+ needs : build
51
+ runs-on : ubuntu-latest
52
+
53
+ steps :
54
+ - uses : actions/download-artifact@v4
55
+
56
+ with :
57
+ name : docs
58
+ path : artifacts
59
+
60
+ - uses : JetBrains/writerside-checker-action@v1
61
+
62
+ with :
63
+ instance : ${{ env.INSTANCE }}
You can’t perform that action at this time.
0 commit comments