-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1 KB
/
cd.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
name: CD - publish on Google Play
on:
push:
tags:
- '*'
jobs:
build_test_publish_job:
name: Build-Test-Publish job
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '17'
- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Decrypt large secret
run: ./.github/scripts/decrypt_secret.sh
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Build, Test & Upload to Google Play
run: bundle exec fastlane build_bundle_publish
- name: Archive output artifacts
uses: actions/upload-artifact@v2
with:
name: output-artifacts
path: |
app/build/outputs
app/build/reports