Skip to content

Commit 4f4e65b

Browse files
committed
try publish
1 parent 7579ea3 commit 4f4e65b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/gradle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Build with Gradle
2727
run: ./gradlew build
2828
- name: Publish with Gradle
29-
run: ./gradlew publish
29+
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
3030
env:
3131
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
3232
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import aQute.bnd.gradle.Bundle
33
buildscript {
44
repositories {
55
mavenCentral()
6+
sonatype()
67
}
78
dependencies {
89
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:5.1.2'
@@ -42,6 +43,7 @@ release {
4243

4344
repositories {
4445
mavenCentral()
46+
sonatype()
4547
}
4648

4749
gradle.projectsEvaluated {

0 commit comments

Comments
 (0)