File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' **'
7
+
8
+ env :
9
+ GRADLE_OPTS : " -Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
10
+
11
+ jobs :
12
+ publish :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-java@v4
18
+ with :
19
+ distribution : ' zulu'
20
+ java-version : 21
21
+
22
+ - name : Build and publish artifacts
23
+ env :
24
+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
25
+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
26
+ ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
27
+ run : ./gradlew publish
28
+
29
+ - name : Extract release notes
30
+ id : release_notes
31
+ uses : ffurrer2/extract-release-notes@v2
32
+
33
+ - name : Create release
34
+ uses : ncipollo/release-action@v1
35
+ with :
36
+ body : ${{ steps.release_notes.outputs.release_notes }}
37
+ discussionCategory : Announcements
38
+
39
+ - run : ./gradlew prepareWebsite
40
+
41
+ - name : Deploy docs to website
42
+ uses : JamesIves/github-pages-deploy-action@releases/v3
43
+ with :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+ BRANCH : site
46
+ FOLDER : build/docs/site
47
+ CLEAN : true
You can’t perform that action at this time.
0 commit comments