Skip to content

Commit e100cba

Browse files
pan3793ulysses-you
authored andcommitted
[KYUUBI #1521] [BUILD] Migrate to actions/cache@v2
### _Why are the changes needed?_ https://github.com/actions/cache https://github.com/actions/cache/releases/tag/v2.0.0 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1521 from pan3793/ga-cache. Closes #1521 87cad57 [Cheng Pan] Migrate to actions/cache@v2 Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: ulysses-you <ulyssesyou@apache.org>
1 parent fe31c3b commit e100cba

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/master.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,25 @@ jobs:
6767
with:
6868
distribution: zulu
6969
java-version: ${{ matrix.java }}
70-
- uses: actions/cache@v1
70+
- uses: actions/cache@v2
7171
with:
7272
path: ~/.m2/repository/com
7373
key: ${{ runner.os }}-maven-com-${{ hashFiles('**/pom.xml') }}
7474
restore-keys: |
7575
${{ runner.os }}-maven-com-
76-
- uses: actions/cache@v1
76+
- uses: actions/cache@v2
7777
with:
7878
path: ~/.m2/repository/org
7979
key: ${{ runner.os }}-maven-org-${{ hashFiles('**/pom.xml') }}
8080
restore-keys: |
8181
${{ runner.os }}-maven-org-
82-
- uses: actions/cache@v1
82+
- uses: actions/cache@v2
8383
with:
8484
path: ~/.m2/repository/net
8585
key: ${{ runner.os }}-maven-net-${{ hashFiles('**/pom.xml') }}
8686
restore-keys: |
8787
${{ runner.os }}-maven-net-
88-
- uses: actions/cache@v1
88+
- uses: actions/cache@v2
8989
with:
9090
path: ~/.m2/repository/io
9191
key: ${{ runner.os }}-maven-io-${{ hashFiles('**/pom.xml') }}
@@ -125,25 +125,25 @@ jobs:
125125
with:
126126
distribution: zulu
127127
java-version: 8
128-
- uses: actions/cache@v1
128+
- uses: actions/cache@v2
129129
with:
130130
path: ~/.m2/repository/com
131131
key: ${{ runner.os }}-maven-com-${{ hashFiles('**/pom.xml') }}
132132
restore-keys: |
133133
${{ runner.os }}-maven-com-
134-
- uses: actions/cache@v1
134+
- uses: actions/cache@v2
135135
with:
136136
path: ~/.m2/repository/org
137137
key: ${{ runner.os }}-maven-org-${{ hashFiles('**/pom.xml') }}
138138
restore-keys: |
139139
${{ runner.os }}-maven-org-
140-
- uses: actions/cache@v1
140+
- uses: actions/cache@v2
141141
with:
142142
path: ~/.m2/repository/net
143143
key: ${{ runner.os }}-maven-net-${{ hashFiles('**/pom.xml') }}
144144
restore-keys: |
145145
${{ runner.os }}-maven-net-
146-
- uses: actions/cache@v1
146+
- uses: actions/cache@v2
147147
with:
148148
path: ~/.m2/repository/io
149149
key: ${{ runner.os }}-maven-io-${{ hashFiles('**/pom.xml') }}

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ jobs:
2121
with:
2222
distribution: zulu
2323
java-version: 8
24-
- uses: actions/cache@v1
24+
- uses: actions/cache@v2
2525
with:
2626
path: ~/.m2/repository/com
2727
key: ${{ runner.os }}-maven-com-${{ hashFiles('**/pom.xml') }}
2828
restore-keys: |
2929
${{ runner.os }}-maven-com-
30-
- uses: actions/cache@v1
30+
- uses: actions/cache@v2
3131
with:
3232
path: ~/.m2/repository/org
3333
key: ${{ runner.os }}-maven-org-${{ hashFiles('**/pom.xml') }}
3434
restore-keys: |
3535
${{ runner.os }}-maven-org-
36-
- uses: actions/cache@v1
36+
- uses: actions/cache@v2
3737
with:
3838
path: ~/.m2/repository/net
3939
key: ${{ runner.os }}-maven-net-${{ hashFiles('**/pom.xml') }}
4040
restore-keys: |
4141
${{ runner.os }}-maven-net-
42-
- uses: actions/cache@v1
42+
- uses: actions/cache@v2
4343
with:
4444
path: ~/.m2/repository/io
4545
key: ${{ runner.os }}-maven-io-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)