Skip to content

Commit

Permalink
Disable gradle daemon on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Apr 1, 2021
1 parent abb37f1 commit f5b44dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
run: |
echo VERSION=$(echo ${{ github.event.head_commit.id }} | head -c 10) >> $GITHUB_ENV
- name: Build with Gradle
run: bash ./gradlew -PappVerName=${{ env.VERSION }} assembleRelease
env:
GRADLE_OPTS: -Xmx1536m
run: bash ./gradlew -PappVerName=${{ env.VERSION }} --no-daemon assembleRelease
- name: Upload built apk
if: success()
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit f5b44dc

Please sign in to comment.