Skip to content

Commit 0e61b71

Browse files
authored
no api
1 parent baa5c12 commit 0e61b71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Build-Kernel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
echo "NEW KERNEL SOURCE!!!!"
4444
echo "# KERNEL UPDATES" > $body
4545
echo >> $body
46-
text=$(gh api repos/microsoft/WSL2-Linux-Kernel/releases/latest | awk -F \" -v RS="," '/"body"/ {print $(NF-1)}')
46+
text=$(wget -q -O- https://api.github.com/repos/microsoft/WSL2-Linux-Kernel/releases/latest | awk -F \" -v RS="," '/"body"/ {print $(NF-1)}')
4747
echo -e "$text" >> $body
4848
fi
4949
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then

0 commit comments

Comments
 (0)