-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.01 KB
/
prod.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
name: build android app production
on: workflow_dispatch
jobs:
building-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: semarangplaza/kunoid-app
token: ${{ secrets.GH_TOKEN }}
ref: production
- name: setup keystore
run: |
echo "${{ secrets.KEYSTORE }}" > kunoid.keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch kunoid.keystore.asc > android/app/kunoid.keystore
- name: install dependencies
run: |
yarn install
- name: build AAB
env:
BASE_URL: ${{secrets.BASE_URL_PROD}}
HOST: ${{ secrets.HOST_PROD }}
DESIGN_WIDTH: ${{ secrets.DESIGN_WIDTH }}
DOMAIN: ${{ secrets.DOMAIN_PROD }}
run: |
yarn build:aab
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: kuno.aab
path: android/app/build/outputs/bundle/release/app-release.aab