I looked everywhere for the full tutorials on the net and didn’t find anything.
i want to make Build and Upload APK to Firebase Distribution.
<code>name: AndroidSteamingCICD
on :
workflow_dispatch :
inputs :
release_notes :
type: string
required: true
default: 'Testing Check'
description: 'Change in run-on- replaced it with ubuntu-latest from windows-latest'
jobs:
build:
runs-on: windows-latest
steps:
- name : Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '17'
- name : Build with Gradle
run: ./gradlew build
- name : Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: TestingName.apk
path: app/build/outputs/apk/debug/app-debug.apk
</code>
<code>name: AndroidSteamingCICD
on :
workflow_dispatch :
inputs :
release_notes :
type: string
required: true
default: 'Testing Check'
description: 'Change in run-on- replaced it with ubuntu-latest from windows-latest'
jobs:
build:
runs-on: windows-latest
steps:
- name : Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '17'
- name : Build with Gradle
run: ./gradlew build
- name : Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: TestingName.apk
path: app/build/outputs/apk/debug/app-debug.apk
</code>
name: AndroidSteamingCICD
on :
workflow_dispatch :
inputs :
release_notes :
type: string
required: true
default: 'Testing Check'
description: 'Change in run-on- replaced it with ubuntu-latest from windows-latest'
jobs:
build:
runs-on: windows-latest
steps:
- name : Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '17'
- name : Build with Gradle
run: ./gradlew build
- name : Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: TestingName.apk
path: app/build/outputs/apk/debug/app-debug.apk
From this im able to build APK and Able to upload the build to App-Distribution.
SIT- URL- https://www.testSITUrl.com/
Production- URL- https://www.testPod.com/