Skip to content

Commit

Permalink
fix upload bug
Browse files Browse the repository at this point in the history
  • Loading branch information
detherminal committed Oct 2, 2024
1 parent 41e0526 commit ab71a27
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,13 @@ jobs:
- name: Build gradle project
run: ./gradlew build -x lint --stacktrace --info

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

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

# Upload Artifact Build
# 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.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) debug generated
path: ${{ env.main_project_module }}/build/outputs/apk/debug/

# Noted For Output [main_project_module]/build/outputs/apk/release/
- name: Upload APK Release - ${{ env.repository_name }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.date_today }} - ${{ env.playstore_name }} - ${{ env.repository_name }} - APK(s) release generated
path: ${{ env.main_project_module }}/build/outputs/apk/release/
path: ${{ env.main_project_module }}/build/outputs/apk/

0 comments on commit ab71a27

Please sign in to comment.