Skip to content

Commit 3ff90bb

Browse files
committed
Switch to actions/cache@v2 for core workflow jobs
1 parent 6e100ec commit 3ff90bb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838
uses: actions/checkout@v2
3939

4040
- name: Cache Ivy
41-
uses: actions/cache@v1.1.2
41+
uses: actions/cache@v2
4242
with:
4343
path: /root/.ivy2/cache
4444
key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
4545
restore-keys: ${{ runner.os }}-ivy-
4646

4747
- name: Cache SBT
48-
uses: actions/cache@v1.1.2
48+
uses: actions/cache@v2
4949
with:
5050
path: /root/.sbt
5151
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
5252
restore-keys: ${{ runner.os }}-sbt-
5353

5454
- name: Cache Coursier and Mill
55-
uses: actions/cache@v1.1.2
55+
uses: actions/cache@v2
5656
with:
5757
path: /root/.cache
5858
key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
@@ -83,21 +83,21 @@ jobs:
8383
uses: actions/checkout@v2
8484

8585
- name: Cache Ivy
86-
uses: actions/cache@v1.1.2
86+
uses: actions/cache@v2
8787
with:
8888
path: /root/.ivy2/cache
8989
key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
9090
restore-keys: ${{ runner.os }}-ivy-
9191

9292
- name: Cache SBT
93-
uses: actions/cache@v1.1.2
93+
uses: actions/cache@v2
9494
with:
9595
path: /root/.sbt
9696
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
9797
restore-keys: ${{ runner.os }}-sbt-
9898

9999
- name: Cache Coursier and Mill
100-
uses: actions/cache@v1.1.2
100+
uses: actions/cache@v2
101101
with:
102102
path: /root/.cache
103103
key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
@@ -168,21 +168,21 @@ jobs:
168168
git submodule update --init --recursive --jobs 7
169169
170170
- name: Cache Ivy
171-
uses: actions/cache@v1.1.2
171+
uses: actions/cache@v2
172172
with:
173173
path: /root/.ivy2/cache
174174
key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
175175
restore-keys: ${{ runner.os }}-ivy-
176176

177177
- name: Cache SBT
178-
uses: actions/cache@v1.1.2
178+
uses: actions/cache@v2
179179
with:
180180
path: /root/.sbt
181181
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
182182
restore-keys: ${{ runner.os }}-sbt-
183183

184184
- name: Cache Coursier and Mill
185-
uses: actions/cache@v1.1.2
185+
uses: actions/cache@v2
186186
with:
187187
path: /root/.cache
188188
key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}
@@ -212,21 +212,21 @@ jobs:
212212
git submodule update --init --recursive --jobs 7
213213
214214
- name: Cache Ivy
215-
uses: actions/cache@v1.1.2
215+
uses: actions/cache@v2
216216
with:
217217
path: /root/.ivy2/cache
218218
key: ${{ runner.os }}-ivy-${{ hashFiles('**/build.sbt') }}
219219
restore-keys: ${{ runner.os }}-ivy-
220220

221221
- name: Cache SBT
222-
uses: actions/cache@v1.1.2
222+
uses: actions/cache@v2
223223
with:
224224
path: /root/.sbt
225225
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
226226
restore-keys: ${{ runner.os }}-sbt-
227227

228228
- name: Cache Coursier and Mill
229-
uses: actions/cache@v1.1.2
229+
uses: actions/cache@v2
230230
with:
231231
path: /root/.cache
232232
key: ${{ runner.os }}-general-${{ hashFiles('**/build.sbt') }}

0 commit comments

Comments
 (0)