File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up JDK 17
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ java-version : ' 17'
22
+ distribution : ' temurin'
23
+ cache : ' gradle'
24
+
25
+ - name : Setup Gradle
26
+ uses : gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
27
+
28
+ - name : Build
29
+ run : ./gradlew build
30
+
31
+ - name : Generate Docs
32
+ run : ./gradlew generateDocs
33
+
34
+ - name : Publish Docs
35
+ uses : actions/upload-pages-artifact@v1
36
+ with :
37
+ path : build/docs
38
+
39
+ deploy :
40
+
41
+ needs : build
42
+ runs-on : ubuntu-latest
43
+ permissions :
44
+ pages : write
45
+ id-token : write
46
+ environment :
47
+ name : github-pages
48
+ url : ${{ steps.deployment.outputs.page_url }}
49
+
50
+ steps :
51
+ - name : Deploy Spec
52
+ id : deployment
53
+ uses : actions/deploy-pages@v1
54
+
You can’t perform that action at this time.
0 commit comments