diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 5d5395e792..0601fdcb20 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -59,7 +59,6 @@ jobs: INPUT_VERSION: ${{ github.event.inputs.version }} deployment-all-platforms: - needs: [set-release-version, load-platform-matrix] env: JAVA_VERSION: "11" RELEASE_VERSION: ${{ needs.set-release-version.outputs.RELEASE_VERSION }} @@ -72,51 +71,14 @@ jobs: runs-on: ${{ matrix.host.RUNNER }} steps: - name: Start Redis server - run: | - if [[ ${{ matrix.host.OS }} == ubuntu ]]; then - sudo apt-get install redis - sudo systemctl start redis - else - brew install redis - brew services start redis - fi - - - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Set up JDK - uses: actions/setup-java@v4 - with: - distribution: "temurin" - java-version: ${{ env.JAVA_VERSION }} - - - name: Install shared software dependencies - uses: ./.github/workflows/install-shared-dependencies - with: - os: ${{ matrix.host.OS }} - target: ${{ matrix.host.TARGET }} - github-token: ${{ secrets.GITHUB_TOKEN }} + run: + exit 1 - - name: Install protoc (protobuf) - uses: arduino/setup-protoc@v3 - with: - version: "26.1" - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Test deployment - working-directory: java - run: | - ./gradlew :benchmarks:run --args="--minimal --clients glide" - - - name: Stop Redis server - if: ${{ always() }} - run: | - if [[ ${{ matrix.host.OS }} == ubuntu ]]; then - sudo systemctl stop redis - else - brew services stop redis - fi + test: + needs: deployment-all-platforms + if: ${{ always() }} + run: + echo "hellow world" # # create-binaries-to-publish: @@ -271,22 +233,6 @@ jobs: # echo "Deployment ${{ env.DEPLOYMENT_ID }} was unsuccessful with status $DEPLOYMENT_STATUS" # exit 1 # -# - uses: actions/checkout@v4 -# with: -# submodules: recursive -# -# - name: Set up JDK -# uses: actions/setup-java@v4 -# with: -# distribution: "temurin" -# java-version: "11" -# -# - name: Install protoc (protobuf) -# uses: arduino/setup-protoc@v3 -# with: -# version: "26.1" -# repo-token: ${{ secrets.GITHUB_TOKEN }} -# # - name: Drop deployment if validation fails # if: ${{ failure() }} # run: |