Skip to content

Commit

Permalink
Disable daemon for macos build as well
Browse files Browse the repository at this point in the history
It's only one gradle command being run in the job, so the daemon probably isn't needed.
  • Loading branch information
SonicGDX committed Dec 3, 2024
1 parent 768cf30 commit 6e9c836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pushaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/releaseaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 6e9c836

Please sign in to comment.