-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (38 loc) · 935 Bytes
/
test.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: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
include:
- os: ubuntu-latest
host: linux
platform: android
- os: macos-latest
host: darwin
platform: android
runs-on: ${{ matrix.os }}
name: ${{ matrix.host }}-${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- run: npm install
- run: |
gh release download --repo holepunchto/bare-kit v1.0.0
unzip prebuilds.zip "android/bare-kit/*" -d prebuilds/
mv prebuilds/android/bare-kit app/libs/
env:
GH_TOKEN: ${{ github.token }}
- run: gradle build