mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
Avoid Android Gradle project for desktop tests
This commit is contained in:
4
.github/workflows/gradle.yaml
vendored
4
.github/workflows/gradle.yaml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
run: ./gradlew spotlessCheck
|
||||
|
||||
- name: Test with Gradle
|
||||
run: ./gradlew test
|
||||
run: ./gradlew :server:core:test :server:desktop:test
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
uses: gradle/actions/setup-gradle@v5
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew shadowJar
|
||||
run: ./gradlew :server:desktop:shadowJar
|
||||
|
||||
- name: Upload the Server JAR as a Build Artifact
|
||||
uses: actions/upload-artifact@v5
|
||||
|
||||
@@ -43,9 +43,9 @@ tasks.preBuild {
|
||||
// Validate release keystore
|
||||
val storeFile = android.buildTypes.getByName("release").signingConfig?.storeFile
|
||||
if (storeFile?.isFile != true) {
|
||||
throw GradleException("KeyStore file does not exist or is not a file: ${storeFile?.path}")
|
||||
throw GradleException("Android KeyStore file does not exist or is not a file: ${storeFile?.path}")
|
||||
} else if (storeFile.length() <= 0) {
|
||||
throw GradleException("KeyStore file is empty: ${storeFile.path}")
|
||||
throw GradleException("Android KeyStore file is empty: ${storeFile.path}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user