Add new required sudo in upload_to_fdroid_repo ci task

This commit is contained in:
Marcel 2020-06-26 18:35:19 +00:00 committed by Christian Pauly
parent 536d7b5beb
commit 84ab035422
1 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@ build_android_apk:
- build/app/outputs/apk/release/app-release.apk
only:
- master
- tags
build_android_appbundle:
@ -94,11 +95,11 @@ upload_to_fdroid_repo:
##
## Install ssh-agent if not already installed.
##
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'which ssh-agent || (sudo apt-get update -y && sudo apt-get install openssh-client -y )'
##
## Install rsync if not already installed.
##
- 'which rsync || ( apt-get update -y && apt-get install rsync -y )'
- 'which rsync || (sudo apt-get update -y && sudo apt-get install rsync -y )'
##
## Run ssh-agent (inside the build environment)
##