-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.31 KB
/
volunteerapp.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Volunteer App CI
on:
pull_request:
branches:
- dev
paths:
- 'packages/volunteerapp/**'
workflow_dispatch:
inputs:
changelog:
description: 'Changelog for this release'
required: true
build-version:
description: 'Version number for the release'
required: true
build-number:
description: 'Build number for the release'
required: true
jobs:
check-formatting:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/shared-workflow.yaml
with:
package-name: volunteerapp
android-build:
if: github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/shared-workflow.yaml
with:
package-name: volunteerapp
android-build: true
changelog: ${{ github.event.inputs.changelog }}
build-number: ${{ github.event.inputs.build-number }}
build-version: ${{ github.event.inputs.build-version }}
secrets:
CREDENTIAL_FILE_CONTENT: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
# ios-build:
# if: github.event_name == 'workflow_dispatch'
# uses: ./.github/workflows/shared-workflow.yaml
# with:
# package-name: volunteerapp
# ios-build: true
# changelog: ${{ github.event.inputs.changelog }}