From e2a1c0b0fc897299d7f796d53f277ba3e97d1a8f Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Fri, 16 Aug 2024 03:33:19 +0900 Subject: [PATCH] Release on publish --- .github/workflows/gradle-publish.yml | 6 ++---- generated-client/build.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 9f87e83..cd7fd4d 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -4,10 +4,8 @@ name: Publish to Maven on: - workflow_dispatch: - # TODO: Temporary -# release: -# types: [published] + release: + types: [published] jobs: build: diff --git a/generated-client/build.gradle.kts b/generated-client/build.gradle.kts index 0959482..5053d9c 100644 --- a/generated-client/build.gradle.kts +++ b/generated-client/build.gradle.kts @@ -195,5 +195,5 @@ signing { mavenCentral { repoDir = stagingDir authToken = System.getenv("MAVEN_CENTRAL_TOKEN") - publishingType = "USER_MANAGED" + publishingType = "AUTOMATIC" }