Skip to content

Commit 9f70504

Browse files
committed
create the output directory and see if that fixes it
1 parent 4045519 commit 9f70504

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/trigger-java-publish.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ jobs:
9898
}
9999
}
100100
}
101+
}
102+
103+
tasks.register('createJReleaserOutputDir') {
104+
doLast {
105+
mkdir 'build/jreleaser'
106+
}
107+
}
108+
109+
tasks.named('jreleaserFullRelease') {
110+
dependsOn 'createJReleaserOutputDir'
101111
}" > build.gradle
102112
103113
# Initialize Gradle wrapper
@@ -115,7 +125,7 @@ jobs:
115125
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY_JAVA_PUBLISHING }}
116126
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117127
run: |
118-
./gradlew jreleaserConfig clean build publish jreleaserFullRelease jreleaserChangelog --stacktrace --info
128+
./gradlew createJReleaserOutputDir jreleaserConfig clean build publish jreleaserFullRelease jreleaserChangelog --stacktrace --info
119129
120130
- name: JReleaser output
121131
if: always()

0 commit comments

Comments
 (0)