All checks were successful
Gitea Actions Build / build and releases (push) Successful in 6m13s
14 lines
427 B
Bash
14 lines
427 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
|
|
|
|
mv $FILENAME com.mingliqiye.gitea.releases.jar
|
|
|
|
rm releases.json
|
|
rm install.sh |