mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-09-06 18:01:11 +00:00
Minor CI changes
This commit is contained in:
parent
4c71d21d7b
commit
12bb09ecb8
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -15,16 +15,16 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: temurin
|
||||||
java-version: 11
|
java-version: 11
|
||||||
cache: 'gradle'
|
cache: gradle
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Prepare keystore
|
- name: Prepare keystore
|
||||||
run: echo ${{ secrets.android_keystore_base64 }} | base64 -d >$GITHUB_WORKSPACE/keystore.jks
|
run: echo ${{ secrets.android_keystore_base64 }} | base64 -d >$GITHUB_WORKSPACE/keystore.jks
|
||||||
|
|
||||||
- name: Build signed package
|
- name: Build signed package
|
||||||
run: ./gradlew app:assembleRelease
|
run: ./gradlew --no-daemon app:assembleRelease
|
||||||
env:
|
env:
|
||||||
ANDROID_KEYSTORE: ${{ github.workspace }}/keystore.jks
|
ANDROID_KEYSTORE: ${{ github.workspace }}/keystore.jks
|
||||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.android_keystore_password }}
|
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.android_keystore_password }}
|
||||||
|
|
19
.github/workflows/test-dev.yml
vendored
19
.github/workflows/test-dev.yml
vendored
|
@ -10,13 +10,13 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: temurin
|
||||||
java-version: 11
|
java-version: 11
|
||||||
cache: gradle
|
cache: gradle
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Run lint and unit tests
|
- name: Run lint and unit tests
|
||||||
run: ./gradlew app:check
|
run: ./gradlew --no-daemon app:check
|
||||||
- name: Archive results
|
- name: Archive results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -38,20 +38,17 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: actions/setup-java@v2
|
||||||
|
|
||||||
- name: Cache gradle dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}
|
distribution: temurin
|
||||||
path: |
|
java-version: 11
|
||||||
~/.gradle/caches
|
cache: gradle
|
||||||
~/.gradle/wrapper
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Start emulator
|
- name: Start emulator
|
||||||
run: start-emulator.sh
|
run: start-emulator.sh
|
||||||
- name: Run connected tests
|
- name: Run connected tests
|
||||||
run: ./gradlew app:connectedCheck
|
run: ./gradlew --no-daemon app:connectedCheck
|
||||||
- name: Archive results
|
- name: Archive results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue