Skip to content

Commit e564317

Browse files
committed
Fix CI
1 parent 412b0f5 commit e564317

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Checkout Course Repo
7777
uses: actions/checkout@v3
7878
with:
79-
path: lunatech-scala-2-to-scala3-course
79+
path: cmt-template-scala3
8080
fetch-depth: 0
8181

8282
- name: Setup Course Management Tools
@@ -99,23 +99,23 @@ jobs:
9999
- name: Setup Coursier Cache
100100
uses: coursier/[email protected]
101101
with:
102-
root: "lunatech-scala-2-to-scala3-course"
102+
root: "cmt-template-scala3"
103103

104104
- name: Studentify Repo
105105
run: |
106106
mkdir -p studentified
107107
export PATH=${PATH}:$GITHUB_WORKSPACE/CMT/bin
108108
git config --global user.email "[email protected]"
109109
git config --global user.name "Lunatech Labs"
110-
cmta studentify -f -g -m lunatech-scala-2-to-scala3-course -d studentified
111-
(cd studentified && exec zip -r lunatech-scala-2-to-scala3-course-student.zip lunatech-scala-2-to-scala3-course)
110+
cmta studentify -f -g -m cmt-template-scala3 -d studentified
111+
(cd studentified && exec zip -r cmt-template-scala3-student.zip cmt-template-scala3)
112112
113113
- name: Linearize Repo
114114
run: |
115115
mkdir -p linearized
116-
cmta linearize -f -m lunatech-scala-2-to-scala3-course -d linearized
117-
mv linearized/lunatech-scala-2-to-scala3-course linearized/lunatech-scala-2-to-scala3-course-linearized
118-
(cd linearized && exec zip -r lunatech-scala-2-to-scala3-course-linearized.zip lunatech-scala-2-to-scala3-course-linearized)
116+
cmta linearize -f -m cmt-template-scala3 -d linearized
117+
mv linearized/cmt-template-scala3 linearized/cmt-template-scala3-linearized
118+
(cd linearized && exec zip -r cmt-template-scala3-linearized.zip cmt-template-scala3-linearized)
119119
120120
- name: Create Github Release
121121
id: create_release
@@ -134,16 +134,6 @@ jobs:
134134
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135135
with:
136136
upload_url: ${{ steps.create_release.outputs.upload_url }} # release created from previous step
137-
asset_path: ./studentified/lunatech-scala-2-to-scala3-course-student.zip
138-
asset_name: lunatech-scala-2-to-scala3-course-student.zip
139-
asset_content_type: application/zip
140-
141-
- name: Upload Linearized repo to Github release
142-
uses: actions/upload-release-asset@v1
143-
env:
144-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145-
with:
146-
upload_url: ${{ steps.create_release.outputs.upload_url }} # release created from previous step
147-
asset_path: ./linearized/lunatech-scala-2-to-scala3-course-linearized.zip
148-
asset_name: lunatech-scala-2-to-scala3-course-linearized.zip
137+
asset_path: ./studentified/cmt-template-scala3-linearized.zip
138+
asset_name: cmt-template-scala3-linearized.zip
149139
asset_content_type: application/zip

0 commit comments

Comments
 (0)