Skip to content

Commit

Permalink
add back in maven
Browse files Browse the repository at this point in the history
Signed-off-by: Chloe Yip <[email protected]>
  • Loading branch information
cyip10 committed Nov 18, 2024
1 parent e758cc1 commit 983cf5d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,23 +265,23 @@ jobs:
export GLIDE_RELEASE_VERSION=${{ env.RELEASE_VERSION }}
./gradlew :benchmarks:run --args="--minimal --clients glide --port ${{ env.PORT }}"
# publish-release-to-maven:
# if: ${{ inputs.maven_publish == true || github.event_name == 'push' }}
# needs:
# [
# publish-to-maven-central-deployment,
# test-deployment-on-all-architectures,
# ]
# runs-on: ubuntu-latest
# environment: AWS_ACTIONS
# env:
# DEPLOYMENT_ID: ${{ needs.publish-to-maven-central-deployment.outputs.DEPLOYMENT_ID }}
# steps:
# - name: Publish to Maven
# run: |
# curl --request POST \
# -u "${{ secrets.CENTRAL_TOKEN_USERNAME }}:${{ secrets.CENTRAL_TOKEN_PASSWORD }}" \
# "https://central.sonatype.com/api/v1/publisher/deployment/${{ env.DEPLOYMENT_ID }}"
publish-release-to-maven:
if: ${{ inputs.maven_publish == true || github.event_name == 'push' }}
needs:
[
publish-to-maven-central-deployment,
test-deployment-on-all-architectures,
]
runs-on: ubuntu-latest
environment: AWS_ACTIONS
env:
DEPLOYMENT_ID: ${{ needs.publish-to-maven-central-deployment.outputs.DEPLOYMENT_ID }}
steps:
- name: Publish to Maven
run: |
curl --request POST \
-u "${{ secrets.CENTRAL_TOKEN_USERNAME }}:${{ secrets.CENTRAL_TOKEN_PASSWORD }}" \
"https://central.sonatype.com/api/v1/publisher/deployment/${{ env.DEPLOYMENT_ID }}"
drop-deployment-if-validation-fails:
if: ${{ failure() }}
Expand Down

0 comments on commit 983cf5d

Please sign in to comment.