-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (42 loc) · 1.22 KB
/
ci.yaml
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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
workflow_dispatch:
inputs:
sdk_git_ref:
type: string
description: "Which git ref of the SDK to build"
concurrency:
group: build-android-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
sdk:
name: "SDK"
runs-on: ubuntu-latest
env:
RTVI_GPG_SIGNING_KEY: ${{ secrets.RTVI_GPG_SIGNING_KEY }}
RTVI_GPG_SIGNING_PASSPHRASE: ${{ secrets.RTVI_GPG_SIGNING_PASSPHRASE }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.sdk_git_ref || github.ref }}
- name: "Install Java"
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Build Daily transport
run: ./gradlew :rtvi-client-android-daily:assembleRelease
- name: Generate Maven repo
run: ./gradlew :rtvi-client-android-daily:publishAllPublicationsToRTVILocalRepoRepository
- name: Upload Maven repo
uses: actions/upload-artifact@v4
with:
name: RTVIClientAndroidDaily-Repo
path: build/RTVILocalRepo