Echo result next line
This commit is contained in:
parent
2c7b425eef
commit
038eef95ab
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ jobs:
|
||||||
echo "[ $count / $total ] Sending $pkgs"
|
echo "[ $count / $total ] Sending $pkgs"
|
||||||
# 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
|
||||||
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`
|
||||||
|
echo $result
|
||||||
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