Add sudo to github CI

This commit is contained in:
Inex Code 2020-10-07 01:09:31 +03:00 committed by GitHub
parent eb5fb3813a
commit b3a7049896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,8 +16,8 @@ jobs:
- name: Get apt deps
run: |
apt-get update > /dev/null
apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
sudo apt-get update > /dev/null
sudo apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
- name: Setup Flutter
uses: takuyaohashi/setup-flutter@v1
@ -41,8 +41,8 @@ jobs:
- name: Get apt deps
run: |
apt-get update > /dev/null
apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
sudo apt-get update > /dev/null
sudo apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
- name: Setup Flutter
uses: takuyaohashi/setup-flutter@v1
@ -82,8 +82,8 @@ jobs:
- name: Get apt deps
run: |
apt-get update > /dev/null
apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
sudo apt-get update > /dev/null
sudo apt-get -y install --no-install-recommends openssl axel lcov gcc g++ ninja-build
- name: Setup Flutter
uses: takuyaohashi/setup-flutter@v1