Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit f43ad52

Browse files
authored
Replace cache action with coursier cache (#81)
- bump release downloader version
1 parent 1237a10 commit f43ad52

File tree

1 file changed

+8
-34
lines changed

1 file changed

+8
-34
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Setup Course Management Tools
24-
uses: robinraju/release-downloader@v1
24+
uses: robinraju/release-downloader@v1.1
2525
with:
2626
repository: eloots/course-management-tools
2727
tag: "1.0.0"
@@ -36,23 +36,10 @@ jobs:
3636
with:
3737
java-version: 11
3838

39-
- name: Cache Ivy
40-
uses: actions/cache@v2
39+
- name: Setup Coursier Cache
40+
uses: coursier/cache-action@v6.2
4141
with:
42-
path: ~/.ivy2/cache
43-
key: ${{ runner.os }}-ivy--${{ hashFiles('**/build.sbt') }}
44-
restore-keys: |
45-
${{ runner.os }}-ivy-
46-
${{ runner.os }}-
47-
48-
- name: Cache SBT
49-
uses: actions/cache@v2
50-
with:
51-
path: ~/.sbt
52-
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
53-
restore-keys: |
54-
${{ runner.os }}-sbt-
55-
${{ runner.os }}-
42+
root: "course-repo"
5643

5744
- name: Generate Tests Script using CMT
5845
run: |
@@ -80,7 +67,7 @@ jobs:
8067
fetch-depth: 0
8168

8269
- name: Setup Course Management Tools
83-
uses: robinraju/release-downloader@v1
70+
uses: robinraju/release-downloader@v1.1
8471
with:
8572
repository: eloots/course-management-tools
8673
tag: "1.0.0"
@@ -95,23 +82,10 @@ jobs:
9582
with:
9683
java-version: 11
9784

98-
- name: Cache Ivy
99-
uses: actions/cache@v2
100-
with:
101-
path: ~/.ivy2/cache
102-
key: ${{ runner.os }}-ivy--${{ hashFiles('**/build.sbt') }}
103-
restore-keys: |
104-
${{ runner.os }}-ivy-
105-
${{ runner.os }}-
106-
107-
- name: Cache SBT
108-
uses: actions/cache@v2
85+
- name: Setup Coursier Cache
86+
uses: coursier/cache-action@v6.2
10987
with:
110-
path: ~/.sbt
111-
key: ${{ runner.os }}-sbt-${{ hashFiles('project/**') }}
112-
restore-keys: |
113-
${{ runner.os }}-sbt-
114-
${{ runner.os }}-
88+
root: "lunatech-scala-2-to-scala3-course"
11589

11690
- name: Studentify Repo
11791
run: |

0 commit comments

Comments
 (0)