Add error info
This commit is contained in:
parent
48f0a6a45b
commit
87836fffa5
1 changed files with 5 additions and 3 deletions
|
@ -31,8 +31,10 @@ jobs:
|
||||||
while read pkgs; do
|
while read pkgs; do
|
||||||
echo "Sending $pkgs"
|
echo "Sending $pkgs"
|
||||||
# if fails continues to next
|
# if fails continues to next
|
||||||
if `wget $upstream/x86_64/$pkgs.apk`; then
|
if `wget -q $upstream/x86_64/$pkgs.apk`; then
|
||||||
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file $pkgs.apk $downstream
|
curl -s --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file $pkgs.apk $downstream
|
||||||
rm $pkgs.apk
|
rm -f $pkgs.apk
|
||||||
|
else
|
||||||
|
echo "Error: Couldn't download $pkgs"
|
||||||
fi
|
fi
|
||||||
done < missing
|
done < missing
|
||||||
|
|
Loading…
Reference in a new issue