diff --git a/.github/workflows/sdk-generation.yaml b/.github/workflows/sdk-generation.yaml index e878b868..1600927b 100644 --- a/.github/workflows/sdk-generation.yaml +++ b/.github/workflows/sdk-generation.yaml @@ -446,7 +446,9 @@ jobs: distribution: "corretto" java-version: "11" cache: "gradle" - - run: ./gradlew build --no-daemon -x test && ./gradlew javadoc + - run: |- + pwd + ./gradlew build --no-daemon -x test && ./gradlew javadoc working-directory: ${{ needs.generate.outputs.java_directory }} - uses: ravsamhq/notify-slack-action@v2 if: always() && env.SLACK_WEBHOOK_URL != '' diff --git a/.github/workflows/sdk-publish.yaml b/.github/workflows/sdk-publish.yaml index 6e7dc6a5..d26f4858 100644 --- a/.github/workflows/sdk-publish.yaml +++ b/.github/workflows/sdk-publish.yaml @@ -233,12 +233,10 @@ jobs: with: java-version: "11" distribution: "corretto" - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b - - name: Publish package - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: publish + cache: "gradle" + - run: |- + pwd + ./gradlew publish --no-daemon env: MAVEN_USERNAME: ${{ secrets.ossrh_username }} MAVEN_PASSWORD: ${{ secrets.ossrh_password }}