Skip to content

Commit 357674f

Browse files
committed
update workflow. migrate to s01.
1 parent 8dbdefd commit 357674f

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish
22

33
on:
4-
push:
4+
created:
55
tags:
66
- '*'
77

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
maven("https://mirrors.tencent.com/nexus/repository/maven-public")
44
}
55
dependencies {
6-
classpath("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
6+
classpath("com.vanniktech:gradle-maven-publish-plugin:0.22.0")
77
}
88
}
99

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ POM_DEVELOPER_ID=bennyhuo
2121
POM_DEVELOPER_NAME=Benny Huo
2222
POM_DEVELOPER_URL=https://github.com/bennyhuo/
2323

24-
KOTLIN_PLUGIN_ID=com.bennyhuo.kotlin.trimindent
24+
KOTLIN_PLUGIN_ID=com.bennyhuo.kotlin.trimindent
25+
26+
SONATYPE_HOST=S01
27+
SONATYPE_AUTOMATIC_RELEASE=true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)