Release to maven central: do not run the tests twice (#977)
This commit is contained in:
parent
fc330a5885
commit
6b71136224
1 changed files with 4 additions and 4 deletions
8
.github/workflows/maven-central-release.yml
vendored
8
.github/workflows/maven-central-release.yml
vendored
|
|
@ -26,18 +26,18 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
|
||||
# Deploy runs the integration tests, but only with Jackson 3
|
||||
# We run Jackson 2 IT manually
|
||||
- name: Jackson 2 Integration Tests
|
||||
run: mvn -pl mcp-test -am -Pjackson2 test
|
||||
|
||||
- name: Build and Test
|
||||
run: mvn clean verify
|
||||
|
||||
# Deploy runs all previous maven goals, including test and verify
|
||||
- name: Publish to Maven Central
|
||||
run: |
|
||||
mvn --batch-mode \
|
||||
-Prelease \
|
||||
-Pjavadoc \
|
||||
deploy
|
||||
clean deploy
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue