Skip to content

Commit aea3a48

Browse files
authored
ci: dry run java publish before release (#319)
The current Java publish `dry_run` only runs a plain `package`, so it misses failures that are specific to the `deploy-to-ossrh` profile and only show up during release publishing. This changes the dry run path to execute `verify -P deploy-to-ossrh -Dgpg.skip=true`, which exercises Javadoc generation and the publish profile without actually signing or deploying artifacts. I validated the new command locally on top of #318, and it successfully builds the async and core-async modules through the same Javadoc path that previously failed during release.
1 parent 919fb6b commit aea3a48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/java-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
github.event_name == 'pull_request' ||
7171
inputs.mode == 'dry_run'
7272
run: |
73-
./mvnw --batch-mode -DskipTests package
73+
./mvnw --batch-mode -DskipTests -Dgpg.skip=true verify -P deploy-to-ossrh
7474
7575
- name: Java Publish
7676
if: |

0 commit comments

Comments
 (0)