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
|
verbose: true
|
||||||
|
|
||||||
- uses: https://source.mapcomplete.org/actions/setup-android@v3.2.2
|
- uses: https://source.mapcomplete.org/actions/setup-android@v3.2.2
|
||||||
|
with:
|
||||||
|
cmdline-tools-version: 13114758
|
||||||
|
|
||||||
- name: Decode keystore
|
- name: Decode keystore
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -26,8 +28,6 @@ jobs:
|
||||||
|
|
||||||
- name: Monkeypatch version number
|
- name: Monkeypatch version number
|
||||||
run: |
|
run: |
|
||||||
pwd
|
|
||||||
ls
|
|
||||||
echo "--- @capacitor ---"
|
echo "--- @capacitor ---"
|
||||||
ls @capacitor
|
ls @capacitor
|
||||||
sed "s/\.\.\/node_modules\///" -i capacitor.settings.gradle
|
sed "s/\.\.\/node_modules\///" -i capacitor.settings.gradle
|
||||||
|
|
@ -37,6 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build signed APK
|
- name: Build signed APK
|
||||||
run: |
|
run: |
|
||||||
|
./gradlew --version
|
||||||
export ANDROID_SDK_HOME=/home/runner/.android/sdk/
|
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
|
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
|
# Those variables are used in MapComplete/android/app/build.gradle
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue