File tree 4 files changed +8
-21
lines changed
4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 64
64
java-version : 17
65
65
- name : Install pnpm
66
66
run : npm install -g pnpm
67
- - name : Cache pnpm store
68
- uses : actions/cache@v3
69
- with :
70
- path : ~/.pnpm-store
71
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
72
- restore-keys : |
73
- ${{ runner.os }}-pnpm-
74
67
- name : Reduce pnpm concurrency
75
68
run : pnpm config set fetch-retries 5 && pnpm config set fetch-timeout 60000 && pnpm config set max-concurrent-requests 6
76
69
- name : Use npm mirror
Original file line number Diff line number Diff line change 31
31
./gradlew clean
32
32
- name : Install pnpm
33
33
run : npm install -g pnpm
34
- - name : Cache pnpm store
35
- uses : actions/cache@v3
36
- with :
37
- path : ~/.pnpm-store
38
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
39
- restore-keys : |
40
- ${{ runner.os }}-pnpm-
41
34
- name : Reduce pnpm concurrency
42
35
run : pnpm config set fetch-retries 5 && pnpm config set fetch-timeout 60000 && pnpm config set max-concurrent-requests 6
43
36
- name : Use npm mirror
Original file line number Diff line number Diff line change 25
25
distribution : ' temurin'
26
26
cache : ' gradle'
27
27
java-version : 17
28
+ - name : Install pnpm
29
+ run : npm install -g pnpm
30
+ - name : Reduce pnpm concurrency
31
+ run : pnpm config set fetch-retries 5 && pnpm config set fetch-timeout 60000 && pnpm config set max-concurrent-requests 6
32
+ - name : Use npm mirror
33
+ run : |
34
+ npm config set registry https://registry.npmmirror.com
35
+ pnpm config set registry https://registry.npmmirror.com
28
36
- name : Make gradlew executable
29
37
run : chmod +x ./gradlew
30
38
- name : Clean with gradle
Original file line number Diff line number Diff line change 29
29
./gradlew clean
30
30
- name : Install pnpm
31
31
run : npm install -g pnpm
32
- - name : Cache pnpm store
33
- uses : actions/cache@v3
34
- with :
35
- path : ~/.pnpm-store
36
- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
37
- restore-keys : |
38
- ${{ runner.os }}-pnpm-
39
32
- name : Reduce pnpm concurrency
40
33
run : pnpm config set fetch-retries 5 && pnpm config set fetch-timeout 60000 && pnpm config set max-concurrent-requests 6
41
34
- name : Use npm mirror
You can’t perform that action at this time.
0 commit comments