Fix gitea act-runner API url
This commit is contained in:
@@ -4,7 +4,7 @@ BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";
|
|||||||
# shellcheck source=init.sh
|
# shellcheck source=init.sh
|
||||||
. "${BASE_FOLDER}init.sh";
|
. "${BASE_FOLDER}init.sh";
|
||||||
|
|
||||||
download_file=$(curl -s https://gitea.com/api/v1/repos/gitea/act_runner/releases/latest |\
|
download_file=$(curl -s https://gitea.com/api/v1/repos/gitea/runner/releases/latest |\
|
||||||
jq ".assets[].browser_download_url" |\
|
jq ".assets[].browser_download_url" |\
|
||||||
sed -e 's/"//g' |\
|
sed -e 's/"//g' |\
|
||||||
grep "${arch}.xz$");
|
grep "${arch}.xz$");
|
||||||
|
|||||||
Reference in New Issue
Block a user