Update readme, remove wget need

Do no longer use wget to download the file, use curl.

Check that curl and jq exists.

Update ReadMe file
This commit is contained in:
Clemens Schwaighofer
2024-08-28 12:01:16 +09:00
parent 59f2394b5c
commit 11c1daf4a1
4 changed files with 37 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ curl -s https://gitea.com/api/v1/repos/gitea/act_runner/releases/latest |\
jq ".assets[].browser_download_url" |\
cut -d '"' -f 2 |\
grep "${arch}$" |\
wget -P "${download_folder}" -i -
xargs curl -LJO --output-dir "${download_folder}"
cd - || exit;
# __END__