Skip to content

Commit

Permalink
fix: attempt to fix java publishing in monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Feb 8, 2024
1 parent d261288 commit 44e1e2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/sdk-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 != ''
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 44e1e2f

Please sign in to comment.