Skip to content

Commit e2a1c0b

Browse files
committed
Release on publish
1 parent f219a78 commit e2a1c0b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/gradle-publish.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
name: Publish to Maven
55

66
on:
7-
workflow_dispatch:
8-
# TODO: Temporary
9-
# release:
10-
# types: [published]
7+
release:
8+
types: [published]
119

1210
jobs:
1311
build:

generated-client/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,5 @@ signing {
195195
mavenCentral {
196196
repoDir = stagingDir
197197
authToken = System.getenv("MAVEN_CENTRAL_TOKEN")
198-
publishingType = "USER_MANAGED"
198+
publishingType = "AUTOMATIC"
199199
}

0 commit comments

Comments
 (0)