yml: move sudo right to tar

This commit is contained in:
rafal1137 2021-04-26 14:40:53 +02:00 committed by GitHub
parent ce8813526e
commit a982c1d03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ licenses:
- 'android-sdk-license-.+' - 'android-sdk-license-.+'
- 'google-gdk-license-.+' - 'google-gdk-license-.+'
before_script: before_script:
- sudo curl -s "https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local - curl -s "https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.tar.gz" | sudo tar --strip-components=1 -xz -C /usr/local
- echo "cmake.dir=/usr/local" | tee -a local.properties - echo "cmake.dir=/usr/local" | tee -a local.properties
- sudo chmod +x gradlew - sudo chmod +x gradlew
- git clone https://github.com/rafal1137/NDK_ETL.git - git clone https://github.com/rafal1137/NDK_ETL.git