with sudo

This commit is contained in:
Ignacio Rodriguez 2020-11-10 22:32:57 +07:00
parent abb1568339
commit 50a1172a44

View file

@ -49,7 +49,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- run: |
export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -y && apt-get install -y \
sudo sh -c 'export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -y && apt-get install -y \
git \
cmake3 \
qtbase5-dev \
@ -63,7 +63,7 @@ jobs:
devscripts \
qttools5-dev \
qttools5-dev-tools \
&& rm -rf /var/lib/apt/lists
&& rm -rf /var/lib/apt/lists'
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)