Skip to content

Commit 570dca1

Browse files
Add workflow to generate and sign AAB files
1 parent 16120d8 commit 570dca1

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Generate AAB File
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: 'Reference branch, tag, commit id'
8+
required: true
9+
type: string
10+
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
17+
- uses: actions/checkout@v4
18+
with:
19+
ref: ${{ inputs.ref }}
20+
21+
- name: Setting up project
22+
uses: ./.github/actions/setup
23+
24+
- name: Build Release AAB
25+
id: buildRelease
26+
run: ./gradlew bundleProRelease
27+
28+
- name: Sign AAB
29+
id: sign
30+
uses: r0adkll/sign-android-release@fix/bundle-signing
31+
with:
32+
releaseDirectory: app/build/outputs/bundle/proRelease
33+
signingKeyBase64: ${{ secrets.PLAY_STORE_UPLOAD_SIGNING_KEY }}
34+
alias: ${{ secrets.PLAY_STORE_UPLOAD_ALIAS }}
35+
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
36+
keyPassword: ${{ secrets.KEY_PASSWORD }}
37+
38+
- name: 🚀 Upload APK to Artifacts 📱
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: app
42+
path: app/build/outputs/bundle/proRelease/*.aab
43+
retention-days: 3

0 commit comments

Comments
 (0)