Skip to content

Commit 2f2152a

Browse files
Update Rust workflow to use Spring course secrets
1 parent f048745 commit 2f2152a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# 生成新的 JSON 内容
4141
new_json=$(jq -n \
4242
--arg channel "github" \
43-
--argjson courseId "${{ secrets.RUSTLINGS_2026_AUTUMN_COURSE_ID }}" \
43+
--argjson courseId "${{ secrets.RUSTLINGS_2026_SPRING_COURSE_ID }}" \
4444
--arg ext "aaa" \
4545
--arg name "${{ github.actor }}" \
4646
--argjson score "$total_succeeds" \
@@ -57,6 +57,6 @@ jobs:
5757
curl -X POST "${{ secrets.COURSE_POST_API }}" \
5858
-H "accept: application/json;charset=utf-8" \
5959
-H "Content-Type: application/json" \
60-
-H "token: ${{ secrets.RUSTLINGS_2026_AUTUMN_TOKEN }}" \
60+
-H "token: ${{ secrets.RUSTLINGS_2026_SPRING_TOKEN }}" \
6161
-d @$SUMMARY \
6262
-v

0 commit comments

Comments
 (0)