|
76 | 76 | - uses: actions/cache@v3
|
77 | 77 | with:
|
78 | 78 | path: ~/.m2/repository
|
79 |
| - key: shardingsphere-maven-third-party-it-cache-${{ github.sha }} |
| 79 | + key: shardingsphere-it-cache-${{ github.sha }} |
80 | 80 | restore-keys: |
|
81 |
| - shardingsphere-maven-third-party-it-cache- |
82 |
| - shardingsphere-maven-third-party- |
| 81 | + ${{ runner.os }}-maven- |
83 | 82 | - name: Maven resolve ranges
|
84 | 83 | run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
|
85 | 84 | - name: Build IT image
|
@@ -109,7 +108,7 @@ jobs:
|
109 | 108 | - uses: actions/cache@v3
|
110 | 109 | with:
|
111 | 110 | path: ~/.m2/repository
|
112 |
| - key: shardingsphere-maven-third-party-it-cache-${{ github.sha }} |
| 111 | + key: shardingsphere-it-cache-${{ github.sha }} |
113 | 112 | - uses: actions/setup-java@v3
|
114 | 113 | with:
|
115 | 114 | distribution: 'temurin'
|
@@ -146,7 +145,7 @@ jobs:
|
146 | 145 | - uses: actions/cache@v3
|
147 | 146 | with:
|
148 | 147 | path: ~/.m2/repository
|
149 |
| - key: shardingsphere-maven-third-party-it-cache-${{ github.sha }} |
| 148 | + key: shardingsphere-it-cache-${{ github.sha }} |
150 | 149 | - uses: actions/setup-java@v3
|
151 | 150 | with:
|
152 | 151 | distribution: 'temurin'
|
@@ -183,7 +182,7 @@ jobs:
|
183 | 182 | - uses: actions/cache@v3
|
184 | 183 | with:
|
185 | 184 | path: ~/.m2/repository
|
186 |
| - key: shardingsphere-maven-third-party-it-cache-${{ github.sha }} |
| 185 | + key: shardingsphere-it-cache-${{ github.sha }} |
187 | 186 | - uses: actions/setup-java@v3
|
188 | 187 | with:
|
189 | 188 | distribution: 'temurin'
|
@@ -212,9 +211,9 @@ jobs:
|
212 | 211 | - uses: actions/cache@v3
|
213 | 212 | with:
|
214 | 213 | path: ~/.m2/repository
|
215 |
| - key: shardingsphere-maven-third-party-${{ hashFiles('**/pom.xml') }} |
| 214 | + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} |
216 | 215 | restore-keys: |
|
217 |
| - shardingsphere-maven-third-party- |
| 216 | + ${{ runner.os }}-maven- |
218 | 217 | - name: Maven resolve ranges
|
219 | 218 | run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
|
220 | 219 | - name: Build Project
|
|
0 commit comments