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 fails continues to next
|
||||||
if `wget -q $upstream/x86_64/$pkgs.apk`; then
|
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`
|
result=`curl -s --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file $pkgs.apk $downstream`
|
||||||
|
if [ -n "$results" ]; then
|
||||||
echo $result
|
echo $result
|
||||||
|
fi
|
||||||
rm -f $pkgs.apk
|
rm -f $pkgs.apk
|
||||||
else
|
else
|
||||||
echo "Error: Couldn't download $pkgs"
|
echo "Error: Couldn't download $pkgs"
|
||||||
|
|
Loading…
Reference in a new issue