chore(ci): Update deploy pipeline (#485)

# chore(ci): Update deploy pipeline

## Motivation and Context
To troubleshoot deployment failure, it has to be merged to main first

## How Has This Been Tested?
Will be tested manually on main branch

## Breaking Changes
<!-- Will users need to update their code or configurations? -->

## Types of changes
- [x] CI update
This commit is contained in:
Konstantin Pavlov 2026-01-20 11:30:33 +02:00 • committed by GitHub
commit 9f16ae45d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ name: Release
on:
release:
types: [ published ]
workflow_dispatch:
jobs:
build:
@ -35,11 +36,25 @@ jobs:
uses: gradle/actions/setup-gradle@v5
- name: Clean Build with Gradle
run: ./gradlew clean build -x :conformance-test:test --rerun-tasks
run: ./gradlew clean build -x :conformance-test:test --rerun-tasks --max-workers 2 --continue --configure-on-demand --parallel
- name: Publish Test Report
uses: mikepenz/action-junit-report@v6
if: ${{ !cancelled() }}
with:
annotate_only: true
detailed_summary: true
flaky_summary: true
group_suite: true
include_empty_in_summary: false
include_time_in_summary: true
report_paths: '**/test-results/**/TEST-*.xml'
truncate_stack_traces: false
- name: Publish to Maven Central Portal
id: publish
run: ./gradlew publishToMavenCentral --no-configuration-cache
run: ./gradlew publishToMavenLocal --no-configuration-cache
# run: ./gradlew publishToMavenCentral --no-configuration-cache
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_TOKEN }}