Merge pull request #344 from zod/gradle-android
GitHub Workflow: Provide Artifacts (APK & ZIP)
This commit is contained in:
commit
e835e9d5f2
2 changed files with 11 additions and 3 deletions
11
.github/workflows/gradle.yml
vendored
11
.github/workflows/gradle.yml
vendored
|
@ -16,11 +16,18 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up JDK 8
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '11'
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
- name: Create local.properties
|
||||||
|
run: touch local.properties
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
- name: Upload ZIP
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ZIP
|
||||||
|
path: brouter-server/build/distributions/brouter-*.zip
|
||||||
|
|
|
@ -30,7 +30,8 @@ application {
|
||||||
}
|
}
|
||||||
|
|
||||||
distZip {
|
distZip {
|
||||||
archiveFileName = 'brouter-' + project.version + '.zip'
|
dependsOn fatJar
|
||||||
|
archiveFileName = 'brouter-' + project.version + '.zip'
|
||||||
}
|
}
|
||||||
|
|
||||||
distributions {
|
distributions {
|
||||||
|
|
Loading…
Reference in a new issue