Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flisar authored and Michael Flisar committed Nov 2, 2023
1 parent 352ac82 commit 9c0f0d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Add apk to release
env:

main_project_module: demo
build_type: assembleRelease
assemble_type: assembleRelease
build_type: debug
apk_name_unsigned_release: demo-release-unsigned.apk

on:
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:

# 4) build apk
- name: Build with Gradle
run: ./gradlew ${{ env.build_type }} --stacktrace
run: ./gradlew ${{ env.assemble_type }} --stacktrace

# 5) upload apk
# - name: Upload APK Build Artifact
Expand All @@ -58,7 +59,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.main_project_module }}/build/outputs/apk/release/${{ env.apk_name_unsigned_release }}
file: ${{ env.main_project_module }}/build/outputs/apk/${{ env.build_type }}/${{ env.apk_name_unsigned_release }}
asset_name: demo-$tag.apk
tag: ${{ github.ref }}
#overwrite: true
Expand Down

0 comments on commit 9c0f0d7

Please sign in to comment.