You've already forked android-client
mirror of
https://github.com/netbirdio/android-client.git
synced 2026-05-22 17:10:49 -07:00
Update CI
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
with:
|
||||
cmdline-tools-version: 16.0
|
||||
cmdline-tools-version: 12266719
|
||||
- name: NDK Cache
|
||||
id: ndk-cache
|
||||
uses: actions/cache@v3
|
||||
|
||||
+6
-2
@@ -13,11 +13,15 @@ if (versionPropsFile.exists()) {
|
||||
}
|
||||
}
|
||||
|
||||
// Check if versionName and versionCode are provided via command line
|
||||
val cmdVersionCode = project.findProperty("versionCode")?.toString()?.toIntOrNull()
|
||||
val cmdVersionName = project.findProperty("versionName") as String?
|
||||
|
||||
// Define the version properties in the extra properties extension
|
||||
ext {
|
||||
set("compileSdkVersion", 35)
|
||||
set("minSdkVersion", 26)
|
||||
set("targetSdkVersion", 35)
|
||||
set("appVersionCode", (versionProps["versionCode"] as String).toInt())
|
||||
set("appVersionName", versionProps["versionName"] as String)
|
||||
set("appVersionCode", cmdVersionCode ?: (versionProps["versionCode"] as String).toInt())
|
||||
set("appVersionName", cmdVersionName ?: versionProps["versionName"] as String)
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.netbird.client.tool">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
Reference in New Issue
Block a user