Scripts: specify command line tools version
This commit is contained in:
parent
be9c10d50b
commit
8df0141a4a
1 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,8 @@ jobs:
|
|||
verbose: true
|
||||
|
||||
- uses: https://source.mapcomplete.org/actions/setup-android@v3.2.2
|
||||
with:
|
||||
cmdline-tools-version: 13114758
|
||||
|
||||
- name: Decode keystore
|
||||
run: |
|
||||
|
@ -26,8 +28,6 @@ jobs:
|
|||
|
||||
- name: Monkeypatch version number
|
||||
run: |
|
||||
pwd
|
||||
ls
|
||||
echo "--- @capacitor ---"
|
||||
ls @capacitor
|
||||
sed "s/\.\.\/node_modules\///" -i capacitor.settings.gradle
|
||||
|
@ -37,6 +37,7 @@ jobs:
|
|||
|
||||
- name: Build signed APK
|
||||
run: |
|
||||
./gradlew --version
|
||||
export ANDROID_SDK_HOME=/home/runner/.android/sdk/
|
||||
export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/:$ANDROID_SDK_HOME/cmdline-tools/latest/tools/bin:$PATH
|
||||
# Those variables are used in MapComplete/android/app/build.gradle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue