diff --git a/.github/workflows/bindings_java.yml b/.github/workflows/bindings_java.yml index 40de5cb65e82..f0edc85a620c 100644 --- a/.github/workflows/bindings_java.yml +++ b/.github/workflows/bindings_java.yml @@ -185,7 +185,7 @@ jobs: run: bash ./scripts/merge_local_staging.sh $LOCAL_STAGING_DIR/staging ~/linux-x86_64-local-staging/staging ~/osx-x86_64-local-staging/staging ~/osx-aarch_64-local-staging/staging # ~/windows-x86_64-local-staging/staging - name: Deploy local staged artifacts - if: ${{ github.event_name != 'pull_request' }} + if: false # ASF org-wise token are not allowed to directly push to release repository working-directory: bindings/java run: mvn org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged -DaltStagingDirectory=$LOCAL_STAGING_DIR -DskipStagingRepositoryClose=true -DserverId=apache.releases.https -DnexusUrl=https://repository.apache.org env: