-
Notifications
You must be signed in to change notification settings - Fork 39
38 lines (38 loc) · 998 Bytes
/
tests.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
name: tests
on:
push:
branches-ignore:
- 'private/**'
pull_request:
branches-ignore:
- 'private/**'
create:
branches-ignore:
- 'private/**'
jobs:
build:
runs-on: macos-12
steps:
- name: checkout
uses: actions/[email protected]
- name: setup Java
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 17
- name: run tests
uses: reactivecircus/[email protected]
with:
api-level: 29
script: tools/ci-build.sh
env:
KEYSTORE: ${{ secrets.KEYSTORE }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}