File tree Expand file tree Collapse file tree 3 files changed +38
-37
lines changed Expand file tree Collapse file tree 3 files changed +38
-37
lines changed Original file line number Diff line number Diff line change 4242 - name : KotlinPoet check
4343 if : " matrix.os != 'ubuntu-latest'"
4444 run : ./gradlew check
45-
46- build-docs :
47- runs-on : ubuntu-latest
48-
49- steps :
50- - name : Checkout
51- uses : actions/checkout@v4
52-
53- - name : Configure JDK
54- uses : actions/setup-java@v4
55- with :
56- distribution : ' zulu'
57- java-version : 19
58- - uses : gradle/actions/setup-gradle@v4
59-
60- - name : Grant execute permission for gradlew
61- run : chmod +x gradlew
62-
63- - name : Prep docs
64- run : ./gradlew dokkaHtml
65-
66- - name : Set up Python
67- uses : actions/setup-python@v5
68- with :
69- python-version : 3.8
70-
71- - name : Build mkdocs
72- run : |
73- pip3 install -r .github/workflows/mkdocs-requirements.txt
74- mkdocs build
Original file line number Diff line number Diff line change 1+ name : Generate Docs
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build-docs :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Configure JDK
15+ uses : actions/setup-java@v4
16+ with :
17+ distribution : ' zulu'
18+ java-version : 19
19+ - uses : gradle/actions/setup-gradle@v4
20+
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+
24+ - name : Prep docs
25+ run : ./gradlew dokkaHtml
26+
27+ - name : Set up Python
28+ uses : actions/setup-python@v5
29+ with :
30+ python-version : 3.8
31+
32+ - name : Build mkdocs
33+ run : |
34+ pip3 install -r .github/workflows/mkdocs-requirements.txt
35+ mkdocs build
Original file line number Diff line number Diff line change @@ -75,21 +75,17 @@ jobs:
7575 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_TOKEN_USERNAME }}
7676 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_TOKEN_PASSWORD }}
7777 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_SIGNING_KEY }}
78- ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
78+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_PASSPHRASE }}
7979 PACKAGE_VERSION : ${{ env.PACKAGE_VERSION }}
80- CI_FLOW : ${{ github.workflow }}
81- run : ./gradlew publish --stacktrace
80+ run : ./gradlew publishKotlinMultiplatformPublicationToMavenCentralRepository --stacktrace
8281
8382 - name : Finish Maven Central Release
8483 env :
85- ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME : ${{ secrets.MAVEN_TOKEN_USERNAME }}
86- ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD : ${{ secrets.MAVEN_TOKEN_PASSWORD }}
8784 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_TOKEN_USERNAME }}
8885 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_TOKEN_PASSWORD }}
8986 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_SIGNING_KEY }}
90- ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
87+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_PASSPHRASE }}
9188 PACKAGE_VERSION : ${{ env.PACKAGE_VERSION }}
92- CI_FLOW : ${{ github.workflow }}
9389 run : ./gradlew releaseRepository --no-daemon --stacktrace
9490
9591
You can’t perform that action at this time.
0 commit comments