mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2025-12-30 16:31:29 -06:00
Create generate-aab-release.yml
This commit is contained in:
committed by
GitHub
parent
18fbfce6ce
commit
d59bdc4759
40
.github/workflows/generate-aab-release.yml
vendored
Normal file
40
.github/workflows/generate-aab-release.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Generate AAB File
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setting up project
|
||||
uses: ./.github/actions/setup
|
||||
|
||||
- name: Build with Gradle
|
||||
id: build
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Release AAB
|
||||
id: buildRelease
|
||||
run: ./gradlew bundleRelease
|
||||
|
||||
- name: Sign AAB
|
||||
id: sign
|
||||
uses: r0adkll/sign-android-release@fix/bundle-signing
|
||||
with:
|
||||
releaseDirectory: app/build/outputs/bundle/release
|
||||
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||
alias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
|
||||
- name: 🚀 Upload APK to Artifacts 📱
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: app
|
||||
path: app/build/outputs/bundle/release/*.aab
|
||||
retention-days: 3
|
||||
Reference in New Issue
Block a user