Add gitea donwload file version info, missing installs are no longer forced exit
fix restart of act runner after update when downloading gitea or act runner it will show the version that is downlaoded. if the same version is downloaded again and alrady exists, download will be skipped
This commit is contained in:
@@ -17,7 +17,7 @@ echo -e "Update gitea action runner to ${1} ... ";
|
||||
systemctl stop act_runner;
|
||||
cp "${download_folder}act_runner-${1}-${arch}" "${target_file_act_runner}";
|
||||
chmod +x "${target_file_act_runner}";
|
||||
systemctl start gitea;
|
||||
systemctl start act_runner;
|
||||
echo "[DONE]";
|
||||
|
||||
# __END__
|
||||
|
||||
Reference in New Issue
Block a user