Skip to content

Commit b4ce98b

Browse files
committed
Merge branch 'upgrade-publish-plugin' into release
2 parents 56ed33f + 8b2b515 commit b4ce98b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,15 @@ jobs:
2222
cache: 'gradle'
2323

2424
- name: Build
25-
uses: gradle/[email protected]
26-
with:
27-
arguments: build
25+
run: ./gradlew build
2826

2927
- name: Publish
3028
run: |
31-
./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
32-
./gradlew releaseRepository
29+
./gradlew publishToMavenCentral --no-configuration-cache
3330
env:
3431
SONATYPE_CONNECT_TIMEOUT_SECONDS: 180
3532
SONATYPE_CLOSE_TIMEOUT_SECONDS: 900
3633
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3734
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
3835
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_SECRET_KEY }}
39-
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
36+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id("org.jetbrains.dokka") version "1.9.20" apply false
44
id("org.owasp.dependencycheck") version "8.2.1" apply false
55
id("io.gitlab.arturbosch.detekt") version "1.23.0" apply false
6-
id("com.vanniktech.maven.publish") version "0.28.0" apply false
6+
id("com.vanniktech.maven.publish") version "0.33.0" apply false
77
id("com.github.ben-manes.versions") version "0.51.0" apply false
88
id("ru.vyarus.mkdocs") version "4.0.1"
99
}

0 commit comments

Comments
 (0)