diff --git a/.github/workflows/pushaction.yml b/.github/workflows/pushaction.yml index b00c8f7..eb3da32 100644 --- a/.github/workflows/pushaction.yml +++ b/.github/workflows/pushaction.yml @@ -43,7 +43,7 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew jnigen jnigenBuild + run: ./gradlew jnigen jnigenBuild --no-daemon - name: Upload macOS natives uses: actions/upload-artifact@v4 with: @@ -97,4 +97,5 @@ jobs: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} run: + # Execute permission was granted in the docker script ./gradlew build publish --no-daemon diff --git a/.github/workflows/releaseaction.yml b/.github/workflows/releaseaction.yml index 5d7c321..e056ddc 100644 --- a/.github/workflows/releaseaction.yml +++ b/.github/workflows/releaseaction.yml @@ -46,7 +46,7 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew jnigen jnigenBuild + run: ./gradlew jnigen jnigenBuild --no-daemon - name: Upload macOS natives uses: actions/upload-artifact@v3 with: @@ -102,4 +102,5 @@ jobs: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} run: + # Execute permission was granted in the docker script ./gradlew build publish -PRELEASE -Psigning.gnupg.keyId=${{ secrets.GPG_KEYID }} -Psigning.gnupg.passphrase=${{ secrets.GPG_PASSPHRASE }} -Psigning.gnupg.keyName=${{ secrets.GPG_KEYID }} --no-daemon