-
Notifications
You must be signed in to change notification settings - Fork 36
30 lines (28 loc) · 1 KB
/
cli-dapp.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
name: dapp-modal-android
on:
pull_request:
branches: [ main ]
jobs:
maestro-cloud:
runs-on: ubuntu-latest
defaults:
run:
working-directory: dapps/ModalViem
outputs:
app: app/build/outputs/apk/release
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: gradle
- run: touch .env && echo "ENV_PROJECT_ID=${{ secrets.ENV_PROJECT_ID }}\nENV_RELAY_URL=${{ secrets.ENV_RELAY_URL }}\nENV_SENTRY_DSN=${{ secrets.WCM_SENTRY_DSN }}" >> .env
- run: touch ./android/sentry.properties && echo "${{ secrets.WCM_SENTRY_FILE }}" >> ./android/sentry.properties
- run: npm install -g yarn
- run: yarn
- run: yarn android:build
- uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: dapps/ModalViem/android/app/build/outputs/apk/release/app-release.apk