From 1e435f08fcbb70f1949f6bee84ec950d03b6d8c6 Mon Sep 17 00:00:00 2001 From: liyitian <2717355959@qq.com> Date: Sun, 14 Dec 2025 20:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=85=A8=E5=88=A0=E9=99=A4=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=85=83=E6=95=B0=E6=8D=AE=E4=BD=9C=E4=B8=9A=E4=BB=A5?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/autograde.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.gitea/workflows/autograde.yml b/.gitea/workflows/autograde.yml index d0e46d7..22920cf 100644 --- a/.gitea/workflows/autograde.yml +++ b/.gitea/workflows/autograde.yml @@ -370,29 +370,5 @@ jobs: fi fi - # - name: Upload metadata - # if: env.RUNNER_METADATA_TOKEN != '' - # working-directory: ${{ github.workspace }} - # env: - # # 使用当前组织的 course-metadata 仓库,而不是 Runner 配置中的硬编码值 - # METADATA_REPO: ${{ github.repository_owner }}/course-metadata - # METADATA_TOKEN: ${{ env.RUNNER_METADATA_TOKEN }} - # METADATA_BRANCH: ${{ env.RUNNER_METADATA_BRANCH }} - # STUDENT_REPO: ${{ github.repository }} - # RUN_ID: ${{ github.run_id }} - # COMMIT_SHA: ${{ github.sha }} - # SERVER_URL: ${{ github.server_url }} - # run: | - # if [ -f metadata.json ] && [ -f ./.autograde/upload_metadata.py ]; then - # python3 ./.autograde/upload_metadata.py \ - # --metadata-file metadata.json \ - # --metadata-repo "${METADATA_REPO}" \ - # --branch "${METADATA_BRANCH:-main}" \ - # --student-repo "${STUDENT_REPO}" \ - # --run-id "${RUN_ID}" \ - # --commit-sha "${COMMIT_SHA}" \ - # --workflow grade \ - # --server-url "${SERVER_URL}" \ - # --external-host "${EXTERNAL_GITEA_HOST}" - # fi +