From 0e61b717195e7cb461b8f804e514c1401f3bb9d0 Mon Sep 17 00:00:00 2001 From: Mioki <22417711+okibcn@users.noreply.github.com> Date: Thu, 16 Feb 2023 18:17:58 -0800 Subject: [PATCH] no api --- .github/workflows/Build-Kernel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build-Kernel.yml b/.github/workflows/Build-Kernel.yml index 50e141e..50da741 100644 --- a/.github/workflows/Build-Kernel.yml +++ b/.github/workflows/Build-Kernel.yml @@ -43,7 +43,7 @@ jobs: echo "NEW KERNEL SOURCE!!!!" echo "# KERNEL UPDATES" > $body echo >> $body - text=$(gh api repos/microsoft/WSL2-Linux-Kernel/releases/latest | awk -F \" -v RS="," '/"body"/ {print $(NF-1)}') + text=$(wget -q -O- https://api.github.com/repos/microsoft/WSL2-Linux-Kernel/releases/latest | awk -F \" -v RS="," '/"body"/ {print $(NF-1)}') echo -e "$text" >> $body fi if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then