-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.2 KB
/
ci-publish-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI - Publish Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish-release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Version
run: ./gradlew --stacktrace versionInfo
- name: Build
run: ./gradlew --stacktrace build
- name: Run Android instrumented tests
run: ./gradlew cleanManagedDevices --unused-only &&
./gradlew --stacktrace androidGroupDebugAndroidTest
-Dorg.gradle.workers.max=1
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
- name: Publish test report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/**/TEST-*.xml'
- name: Publish Release Version
run: echo "TODO"