aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy_snapshot.yml3
-rw-r--r--.github/workflows/pull_request.yml4
-rw-r--r--.github/workflows/release.yml3
3 files changed, 10 insertions, 0 deletions
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