Skip to content

Commit 4fe14bf

Browse files
committed
added debug for path
1 parent b9fefe1 commit 4fe14bf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- name: Publish to local staging repository
3939
run: ./gradlew publishMavenJavaPublicationToLocalStagingRepository
4040

41+
- name: Debug - List build directory contents
42+
run: ls -R build/
43+
4144
- name: Publish package
4245
run: ./gradlew jreleaserPublish
4346
env:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ publishing {
126126
maven {
127127
name = "localStaging" // A descriptive name for this local repo
128128
// Point this to the *same* directory as JReleaser's stagingRepository
129-
url = layout.buildDirectory.dir("pre-staging")
129+
url = layout.buildDirectory.dir("staging")
130130
}
131131
}
132132
}
@@ -150,7 +150,7 @@ jreleaser {
150150
sonatype {
151151
active = 'ALWAYS'
152152
url = 'https://central.sonatype.com/api/v1/publisher'
153-
stagingRepository('build/pre-staging')
153+
stagingRepository('build/staging')
154154
}
155155
}
156156
}

0 commit comments

Comments
 (0)