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

Commit fe858d6

Browse files
authored
添加大模型推理和ai编译器习题 (#5)
1 parent f84cc35 commit fe858d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: GitHub Classroom Workflow
22

33
on:
44
push:
5-
branches: [ main,dev ]
5+
branches: [ main,dev]
66
paths-ignore:
77
- 'README.md'
88
pull_request:
@@ -250,6 +250,7 @@ jobs:
250250
points: ${{ steps.autograding.outputs.points}}
251251
env:
252252
API_URL: ${{ needs.initialize.outputs.api_url }}
253+
TOKEN: ${{ needs.initialize.outputs.token }}
253254
steps:
254255
- name: Checkout code
255256
uses: actions/checkout@v4
@@ -346,7 +347,7 @@ jobs:
346347
347348
new_json=$(jq -n \
348349
--arg channel "github" \
349-
--argjson courseId 1701 \
350+
--argjson courseId 1753 \
350351
--arg ext "aaa" \
351352
--arg name "$pr1_user" \
352353
--argjson score "$total_succeeds" \
@@ -362,6 +363,7 @@ jobs:
362363
curl -X POST "$API_URL" \
363364
-H "accept: application/json;charset=utf-8" \
364365
-H "Content-Type: application/json" \
366+
-H "token: $TOKEN"\
365367
-d "$(cat $summary_file)" \
366368
-v
367369
@@ -475,7 +477,7 @@ jobs:
475477
# 生成新的 JSON 内容
476478
new_json=$(jq -n \
477479
--arg channel "github" \
478-
--argjson courseId 1703 \
480+
--argjson courseId 1754 \
479481
--arg ext "aaa" \
480482
--arg name "$pr2_user" \
481483
--argjson score "$total_succeeds" \

0 commit comments

Comments
 (0)