File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1- name : Quarkus CI - Populate cache for forks
1+ name : Quarkus CI - Populate cache
22
33permissions :
44 contents : read
@@ -23,19 +23,11 @@ jobs:
2323 configure :
2424 name : " Configure jobs"
2525 runs-on : ubuntu-latest
26- if : ${{ github.repository != 'quarkusio/quarkus' }}
2726 outputs :
2827 m2-monthly-branch-cache-key : ${{ steps.cache-key.outputs.m2-monthly-branch-cache-key }}
2928 m2-monthly-cache-key : ${{ steps.cache-key.outputs.m2-monthly-cache-key }}
3029 m2-cache-key : ${{ steps.cache-key.outputs.m2-cache-key }}
31- quarkus-metadata-cache-key : ${{ steps.cache-key.outputs.quarkus-metadata-cache-key }}
32- quarkus-metadata-cache-key-default : ${{ steps.cache-key.outputs.quarkus-metadata-cache-key-default }}
3330 steps :
34- - name : Set up JDK 21
35- uses : actions/setup-java@v5
36- with :
37- distribution : temurin
38- java-version : 21
3931 - name : Generate cache key
4032 id : cache-key
4133 run : |
6254 with :
6355 fetch-depth : 0
6456 - name : Cache Maven Repository
65- id : cache-maven
66- uses : quarkusio/cache-action@v4
57+ uses : actions/cache@v5
6758 with :
6859 path : ~/.m2/repository
6960 # A new cache will be stored weekly. After that first store of the day, cache save actions will fail because the cache is immutable but it's not a problem.
7364 restore-keys : |
7465 ${{ needs.configure.outputs.m2-monthly-branch-cache-key }}-
7566 ${{ needs.configure.outputs.m2-monthly-cache-key }}-
76- runs-on : false
7767 - name : Populate the cache
7868 run : |
79- ./mvnw -T2C $COMMON_MAVEN_ARGS dependency:go-offline
69+ ./mvnw -T2C $COMMON_MAVEN_ARGS -q dependency:go-offline -Dgo -offline
You can’t perform that action at this time.
0 commit comments