Fix upload path
This commit is contained in:
parent
5af61ff97b
commit
9ad17b1305
2 changed files with 5 additions and 2 deletions
3
.github/workflows/android_ci.yml
vendored
3
.github/workflows/android_ci.yml
vendored
|
|
@ -40,7 +40,8 @@ jobs:
|
||||||
run: ./gradlew assembleRelease
|
run: ./gradlew assembleRelease
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
|
if: success() && github.event_name != 'pull_request' && github.repository == 'Super12138/ToDo'
|
||||||
uses: actions/upload-artifact@v4.3.1
|
uses: actions/upload-artifact@v4.3.1
|
||||||
with:
|
with:
|
||||||
name: Release
|
name: Release
|
||||||
path: ${{steps.sign_app.outputs.signedFile}}
|
path: ${{ github.workspace }}/app/build/outputs/apk/release
|
||||||
|
|
@ -40,8 +40,10 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
all {
|
||||||
signingConfig = releaseSigning
|
signingConfig = releaseSigning
|
||||||
|
}
|
||||||
|
release {
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
isShrinkResources = true
|
isShrinkResources = true
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue