diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/ci-gradle.properties | 6 | ||||
-rw-r--r-- | .github/workflows/deploy_snapshot.yml | 3 | ||||
-rw-r--r-- | .github/workflows/pull_request.yml | 4 | ||||
-rw-r--r-- | .github/workflows/release.yml | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/.github/ci-gradle.properties b/.github/ci-gradle.properties new file mode 100644 index 00000000..afe2d4b5 --- /dev/null +++ b/.github/ci-gradle.properties @@ -0,0 +1,6 @@ +# +# Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. +# SPDX-License-Identifier: GPL-3.0-only +# + +org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml index 88a49304..3bb5d9c8 100644 --- a/.github/workflows/deploy_snapshot.yml +++ b/.github/workflows/deploy_snapshot.yml @@ -17,6 +17,9 @@ jobs: env: ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }} + - name: Copy CI gradle.properties + run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties + - name: Generate cache key run: ./.github/checksum.sh checksum.txt diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 49585eeb..f374c689 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,6 +29,10 @@ jobs: if: ${{ steps.service-changed.outputs.result == 'true' }} uses: actions/checkout@v2 + - name: Copy CI gradle.properties + if: ${{ steps.service-changed.outputs.result == 'true' }} + run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties + - name: Generate cache key if: ${{ steps.service-changed.outputs.result == 'true' }} run: ./.github/checksum.sh checksum.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59c26cde..10484521 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,9 @@ jobs: env: ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }} + - name: Copy CI gradle.properties + run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties + - name: Generate cache key run: ./.github/checksum.sh checksum.txt |