Skip to content

Commit

Permalink
Release on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Aug 15, 2024
1 parent f219a78 commit e2a1c0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
name: Publish to Maven

on:
workflow_dispatch:
# TODO: Temporary
# release:
# types: [published]
release:
types: [published]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion generated-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,5 @@ signing {
mavenCentral {
repoDir = stagingDir
authToken = System.getenv("MAVEN_CENTRAL_TOKEN")
publishingType = "USER_MANAGED"
publishingType = "AUTOMATIC"
}

0 comments on commit e2a1c0b

Please sign in to comment.