(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 name: Generate APK Debug
on: on:
@ -40,6 +41,9 @@ jobs:
- name: Change wrapper permissions - name: Change wrapper permissions
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: Gradle Cache
uses: burrunan/gradle-cache-action@v1
# temporary disabled # temporary disabled
# - name: Run tests # - name: Run tests
# run: ./gradlew test # run: ./gradlew test

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

Loading…
Cancel
Save