mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 10:05:15 +00:00
Update APT repo before installing jdk
This commit is contained in:
parent
be5b79d36d
commit
ba3e25ccd2
@ -38,6 +38,7 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|||||||
pull: 'always',
|
pull: 'always',
|
||||||
environment: { ANDROID_HOME: '/usr/lib/android-sdk' },
|
environment: { ANDROID_HOME: '/usr/lib/android-sdk' },
|
||||||
commands: [
|
commands: [
|
||||||
|
'apt-get update',
|
||||||
'apt-get install -y ninja-build openjdk-17-jdk',
|
'apt-get install -y ninja-build openjdk-17-jdk',
|
||||||
'update-java-alternatives -s java-1.17.0-openjdk-amd64',
|
'update-java-alternatives -s java-1.17.0-openjdk-amd64',
|
||||||
'./gradlew testPlayDebugUnitTestCoverageReport'
|
'./gradlew testPlayDebugUnitTestCoverageReport'
|
||||||
@ -79,6 +80,7 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|||||||
pull: 'always',
|
pull: 'always',
|
||||||
environment: { SSH_KEY: { from_secret: 'SSH_KEY' }, ANDROID_HOME: '/usr/lib/android-sdk' },
|
environment: { SSH_KEY: { from_secret: 'SSH_KEY' }, ANDROID_HOME: '/usr/lib/android-sdk' },
|
||||||
commands: [
|
commands: [
|
||||||
|
'apt-get update',
|
||||||
'apt-get install -y ninja-build openjdk-17-jdk',
|
'apt-get install -y ninja-build openjdk-17-jdk',
|
||||||
'update-java-alternatives -s java-1.17.0-openjdk-amd64',
|
'update-java-alternatives -s java-1.17.0-openjdk-amd64',
|
||||||
'./gradlew assemblePlayDebug',
|
'./gradlew assemblePlayDebug',
|
||||||
|
Loading…
Reference in New Issue
Block a user