forked from mrcsxsiq/Kotlin-Pokedex
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.1 KB
/
manualdeploy.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
39
40
41
name: Deploy Pokedex to Firebase
on:
workflow_dispatch:
inputs:
release_notes:
type: string
required: true
default: 'Manual Debug Build'
description: 'Release Notes'
jobs:
build:
name: Building and distributing app
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Execute Gradle command - assembleDebug
run: ./gradlew assembleDebug
- name: Upload Artifact to Firebase App Distribution
uses: wzieba/[email protected]
with:
appId: ${{ secrets.FIREBASE_APP_ID }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/build/outputs/apk/debug/app-debug.apk
releaseNotes: ${{ inputs.release_notes }}