Skip to content

Commit

Permalink
no api
Browse files Browse the repository at this point in the history
  • Loading branch information
okibcn authored Feb 17, 2023
1 parent baa5c12 commit 0e61b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build-Kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e61b71

Please sign in to comment.