Skip to content

Commit

Permalink
Oh wow, gradle being daemon by default is considered harmful.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Apr 12, 2024
1 parent 9754014 commit a7dd851
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# only for releases on macos-13
- name: macos-13 lightweight publish with Gradle for libs
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
run: ./gradlew --warning-mode all publish
run: ./gradlew --no-daemon --warning-mode all publish
env:
OSSRH_USERNAME: atsushieno
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand All @@ -92,7 +92,7 @@ jobs:
# only for releases on macos-14
- name: macos-14 lightweight publish with Gradle for libs and apps
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14') }}
run: ./gradlew --warning-mode all publish iosArm64Binaries packageDmg
run: ./gradlew --no-daemon --warning-mode all publish iosArm64Binaries packageDmg
env:
OSSRH_USERNAME: atsushieno
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand All @@ -107,7 +107,7 @@ jobs:
# only for releases on Linux
- name: linux publish with Gradle
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'ubuntu-22.04') }}
run: ./gradlew --warning-mode all dokkaHtml publish
run: ./gradlew --no-daemon --warning-mode all dokkaHtml publish
env:
OSSRH_USERNAME: atsushieno
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit a7dd851

Please sign in to comment.