Fix upload path

This commit is contained in:
Super12138 2024-04-10 20:11:20 +08:00
parent 5af61ff97b
commit 9ad17b1305
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -40,8 +40,10 @@ android {
} }
buildTypes { buildTypes {
release { all {
signingConfig = releaseSigning signingConfig = releaseSigning
}
release {
isMinifyEnabled = true isMinifyEnabled = true
isShrinkResources = true isShrinkResources = true
proguardFiles( proguardFiles(