Skip to content

Commit e6fe466

Browse files
committed
update: workflow github action
1 parent 509243c commit e6fe466

File tree

4 files changed

+12
-23
lines changed

4 files changed

+12
-23
lines changed

.github/workflows/android-ci-generate-apk-aab-download.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android CI Generated APK AAB Download
1+
name: Download Generated APK AAB
22

33
env:
44
# The name of the main module repository
@@ -56,24 +56,24 @@ jobs:
5656
- name: Build app bundle release (AAB) - ${{ env.main_project_module }} module
5757
run: ./gradlew ${{ env.main_project_module }}:bundleRelease
5858

59-
# Upload Artifact Build
59+
# Download Artifact Build
6060
# Noted For Output [main_project_module]/build/outputs/apk/debug/
61-
- name: Upload APK Debug - ${{ env.repository_name }}
62-
uses: actions/upload-artifact@v2
61+
- name: Download APK Debug - ${{ env.repository_name }}
62+
uses: actions/download-artifact@v2
6363
with:
6464
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) debug generated
6565
path: ${{ env.main_project_module }}/build/outputs/apk/debug/
6666

6767
# Noted For Output [main_project_module]/build/outputs/apk/release/
68-
- name: Upload APK Release - ${{ env.repository_name }}
69-
uses: actions/upload-artifact@v2
68+
- name: Download APK Release - ${{ env.repository_name }}
69+
uses: actions/download-artifact@v2
7070
with:
7171
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) release generated
7272
path: ${{ env.main_project_module }}/build/outputs/apk/release/
7373

7474
# Noted For Output [main_project_module]/build/outputs/bundle/release/
75-
- name: Upload AAB (App Bundle) Release - ${{ env.repository_name }}
76-
uses: actions/upload-artifact@v2
75+
- name: Download AAB (App Bundle) Release - ${{ env.repository_name }}
76+
uses: actions/download-artifact@v2
7777
with:
7878
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - App bundle(s) AAB release generated
7979
path: ${{ env.main_project_module }}/build/outputs/bundle/release/

.github/workflows/android-ci-generate-apk-aab-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android CI Generated APK AAB Upload
1+
name: Upload Generated APK AAB
22

33
env:
44
# The name of the main module repository

.github/workflows/android-ci.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,4 @@ jobs:
4747

4848
# Run Build Project
4949
- name: Build gradle project
50-
run: ./gradlew build
51-
52-
# Create APK Debug
53-
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
54-
run: ./gradlew assembleDebug
55-
56-
# Create APK Release
57-
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
58-
run: ./gradlew assemble
59-
60-
# Create Bundle AAB Release
61-
# Noted for main module build [main_project_module]:bundleRelease
62-
- name: Build app bundle release (AAB) - ${{ env.main_project_module }} module
63-
run: ./gradlew ${{ env.main_project_module }}:bundleRelease
50+
run: ./gradlew build

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
- Using Github Workflows
1313
- Automated Build AAB (release)
1414
- Automated Build APK (release and debug)
15+
- Download Artifact
16+
- Upload Artifact
1517
- Clear (Articfact naming)
1618
- Sample Naming : ${date_today} - ${repository_name} - ${playstore_name} - APK(s) release generated
1719
- Private Repository Tested (Passed Build App bundle(s) and APK generated successfully)

0 commit comments

Comments
 (0)