ci: share gradle cache across runner jobs
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
if: github.repository != 'templates/mono-app-with-db'
|
if: github.repository != 'templates/mono-app-with-db'
|
||||||
runs-on: java-node-24
|
runs-on: java-node-24
|
||||||
env:
|
env:
|
||||||
GRADLE_USER_HOME: /opt/hostedtoolcache/gradle/${{ github.repository }}
|
GRADLE_USER_HOME: /opt/hostedtoolcache/gradle/shared-java-node-24
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 1. Checkout repository
|
- name: 1. Checkout repository
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
if: github.repository != 'templates/mono-app-with-db'
|
if: github.repository != 'templates/mono-app-with-db'
|
||||||
runs-on: java-node-24
|
runs-on: java-node-24
|
||||||
env:
|
env:
|
||||||
GRADLE_USER_HOME: /opt/hostedtoolcache/gradle/${{ github.repository }}
|
GRADLE_USER_HOME: /opt/hostedtoolcache/gradle/shared-java-node-24
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 1. Checkout repository
|
- name: 1. Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user