summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2022-06-12 13:03:44 +0200
committerjkoan <jkoan@users.noreply.github.com>2023-01-11 07:50:27 +0100
commit0cfe54af745a15aa434af89554127fe634fbf769 (patch)
tree31b74d29b792a16ec5ff60f08fab39a90d3525c7
parent1ba1c104e4f832c898f106e25f5a4ad6f8300b07 (diff)
downloadnavit-0cfe54af745a15aa434af89554127fe634fbf769.tar.gz
fix:build:android:install sudo only if UID is 0 as act is slightly different
-rw-r--r--.github/workflows/build.yml2
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