Skip to content

Commit

Permalink
actions create debug apks now
Browse files Browse the repository at this point in the history
  • Loading branch information
unalkalkan committed Feb 15, 2024
1 parent 76c29a0 commit 542e482
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

# Create APK Release
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assemble
# Create APK Debug
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assembleDebug

# Noted For Output [main_project_module]/build/outputs/apk/release/
- name: Upload APK Release - ${{ env.repository_name }}
# Noted For Output [main_project_module]/build/outputs/apk/debug/
- name: Upload APK Debug - ${{ env.repository_name }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.repository_name }} - Release
path: ${{ env.main_project_module }}/build/outputs/apk/release/
name: ${{ env.repository_name }} - Debug
path: ${{ env.main_project_module }}/build/outputs/apk/debug/
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

# Create APK Release
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assemble
# Create APK Debug
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assembleDebug

- name: Upload Release Assets
uses: actions/upload-release-asset@v1
Expand All @@ -59,5 +59,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: ${{ env.repository_name }}-${{ env.RELEASE_VERSION }}.apk
asset_path: ${{ env.main_project_module }}/build/outputs/apk/release/app-release-unsigned.apk
asset_path: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
asset_content_type: application/vnd.android.package-archive

0 comments on commit 542e482

Please sign in to comment.