From 69e1739bccae8a2b1db37f0d29449b05ec2860c0 Mon Sep 17 00:00:00 2001 From: oluiscabral Date: Thu, 31 Oct 2024 10:10:23 -0300 Subject: [PATCH] Fix java release to all OS --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f00e74d..8f1a410a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,10 +56,8 @@ jobs: working-directory: ./java - name: Publish Java release - uses: gradle/gradle-build-action@v3 - with: - build-root-directory: java - arguments: publishReleasePublicationToGithubPackagesRepository + run: gradle publish + working-directory: ./java env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -93,10 +91,8 @@ jobs: working-directory: ./java - name: Publish Java release - uses: gradle/gradle-build-action@v3 - with: - build-root-directory: java - arguments: publishReleasePublicationToGithubPackagesRepository + run: gradle publish + working-directory: ./java env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}