Some checks failed
Gitea Actions Build / build and releases (push) Failing after 7m20s
12 lines
379 B
Bash
12 lines
379 B
Bash
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
|
FILENAME=$(jq -r .[0].assets[0].name releases.json)
|
|
DOWNLOADURL=$(jq -r .[0].assets[0].browser_download_url releases.json)
|
|
|
|
echo fileName:$FILENAME
|
|
echo BrowserDownloadUrl:$DOWNLOADURL
|
|
echo Downloading ... $FILENAME
|
|
|
|
curl -O $DOWNLOADURL
|
|
|
|
rm releases.json
|
|
rm install.sh |