Compare commits
3 Commits
v1.2.0
...
26cbfbe39f
| Author | SHA1 | Date | |
|---|---|---|---|
| 26cbfbe39f | |||
| 147f3e07d1 | |||
| d32ddb1734 |
+1
-1
@@ -5,7 +5,7 @@ BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";
|
|||||||
. "${BASE_FOLDER}init.sh";
|
. "${BASE_FOLDER}init.sh";
|
||||||
|
|
||||||
download_file=$(curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |\
|
download_file=$(curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |\
|
||||||
grep browser_download_url |\
|
jq ".assets[].browser_download_url" |\
|
||||||
cut -d '"' -f 4 |\
|
cut -d '"' -f 4 |\
|
||||||
grep "${arch}$");
|
grep "${arch}$");
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ fi;
|
|||||||
target_file_act_runner="/usr/local/bin/act_runner";
|
target_file_act_runner="/usr/local/bin/act_runner";
|
||||||
act_runner_exists=1
|
act_runner_exists=1
|
||||||
if [ ! -f "${target_file_act_runner}" ]; then
|
if [ ! -f "${target_file_act_runner}" ]; then
|
||||||
echo "[!] There is no gitea action runner target file at ${target_file}. Is gitea action runner installed?";
|
echo "[!] There is no gitea action runner target file at ${target_file_act_runner}. Is gitea action runner installed?";
|
||||||
act_runner_exists=0
|
act_runner_exists=0
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user