No new line on empty results
This commit is contained in:
parent
038eef95ab
commit
98a4d64ebf
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ jobs:
|
|||
# if fails continues to next
|
||||
if `wget -q $upstream/x86_64/$pkgs.apk`; then
|
||||
result=`curl -s --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file $pkgs.apk $downstream`
|
||||
echo $result
|
||||
if [ -n "$results" ]; then
|
||||
echo $result
|
||||
fi
|
||||
rm -f $pkgs.apk
|
||||
else
|
||||
echo "Error: Couldn't download $pkgs"
|
||||
|
|
Loading…
Reference in a new issue