From 6f8430f256d30ec64c526fcb96c7c7753b56110b Mon Sep 17 00:00:00 2001 From: 281677160 <66651997+281677160@users.noreply.github.com> Date: Sat, 1 Apr 2023 01:13:39 +0800 Subject: [PATCH] Update synapi.yml --- .github/workflows/synapi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/synapi.yml b/.github/workflows/synapi.yml index deacb8ca0f..712b477f42 100644 --- a/.github/workflows/synapi.yml +++ b/.github/workflows/synapi.yml @@ -30,9 +30,9 @@ jobs: run: | mkdir -p Github_Api cd Github_Api - curl -H "Authorization: Bearer ${REPO_TOKEN}" https://api.github.com/repos/ophub/kernel/contents/pub/stable -o stable.api + curl -H "Authorization: Bearer ${REPO_TOKEN}" https://api.github.com/repos/ophub/kernel/contents/kernel_stable/pub/stable -o stable.api if [[ $? -ne 0 ]]; then - curl -H "Authorization: Bearer ${REPO_TOKEN}" https://api.github.com/repos/ophub/kernel/contents/pub/stable > stable.api + curl -H "Authorization: Bearer ${REPO_TOKEN}" https://api.github.com/repos/ophub/kernel/contents/kernel_stable/pub/stable > stable.api fi curl -H "Authorization: Bearer ${REPO_TOKEN}" https://api.github.com/repos/tmate-io/tmate/releases/latest -o tmate.api if [[ $? -ne 0 ]]; then