Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Don't relocate apk output path #242

Merged
merged 3 commits into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ jobs:
- run: ./gradlew app:assembleProdRelease
- uses: actions/upload-artifact@v3
with:
path: app/build/*.apk
name: build-outputs
path: app/build/outputs/apk/prod/release/*.apk
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- run: ./gradlew app:assembleProdRelease
- uses: ncipollo/release-action@v1
with:
artifacts: "app/build/*.apk"
artifacts: app/build/outputs
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ android {
dependenciesInfo.includeInApk = false
applicationVariants.configureEach {
outputs.configureEach {
(this as? ApkVariantOutputImpl)?.outputFileName = "../../../../" +
(this as? ApkVariantOutputImpl)?.outputFileName =
"${appName}_${versionName}_${versionCode}_${flavorName}_${buildType.name}.apk"
}
}
Expand Down