(fix) fix Actions builds, again

Signed-off-by: androidacy-user <opensource@androidacy.com>
master
androidacy-user 1 year ago
parent b3e261d3d8
commit ff1bf975a2

@ -1,3 +1,4 @@
#file: noinspection SpellCheckingInspection
name: Generate APK Debug
on:
@ -40,6 +41,9 @@ jobs:
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Gradle Cache
uses: burrunan/gradle-cache-action@v1
# temporary disabled
# - name: Run tests
# run: ./gradlew test

@ -186,11 +186,11 @@ android {
// If androidacy.properties doesn"t exist, use the fdroid client ID which is limited
// to 50 requests per minute
if (project.rootProject.file("androidacy.properties").exists()) {
propertiesA.load(project.rootProject.file("androidacy.properties").inputStream())
buildConfigField("String", "ANDROIDACY_CLIENT_ID", "\"" + propertiesA.getProperty("client_id", "dQ1p7X8bF14PVJ7wAU6ORVjPB2IeTinsuAZ8Uos6tQiyUdUyIjSyZSmN54QBbaTy") + "\"")
} else {
properties.setProperty("client_id", "\"dQ1p7X8bF14PVJ7wAU6ORVjPB2IeTinsuAZ8Uos6tQiyUdUyIjSyZSmN54QBbaTy\"")
propertiesA.setProperty("client_id", "\"dQ1p7X8bF14PVJ7wAU6ORVjPB2IeTinsuAZ8Uos6tQiyUdUyIjSyZSmN54QBbaTy\"")
}
propertiesA.load(project.rootProject.file("androidacy.properties").inputStream())
versionNameSuffix = "-froid"
}
}

Loading…
Cancel
Save