diff options
author | jkoan <jkoan@gmx.de> | 2022-06-12 13:03:44 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2023-01-11 07:50:27 +0100 |
commit | 0cfe54af745a15aa434af89554127fe634fbf769 (patch) | |
tree | 31b74d29b792a16ec5ff60f08fab39a90d3525c7 | |
parent | 1ba1c104e4f832c898f106e25f5a4ad6f8300b07 (diff) | |
download | navit-0cfe54af745a15aa434af89554127fe634fbf769.tar.gz |
fix:build:android:install sudo only if UID is 0 as act is slightly different
-rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0636201a2..33ac792f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,7 +89,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - run: apt update && apt install -y sudo + - run: if [ "X$UID" == X0 ]; then apt update && apt install -y sudo; fi - name: Install requirements run: bash scripts/setup_android.sh - name: Setup Keystore and Playstore Keys |