Reduce number of nested directories for apk artifacts

This commit is contained in:
Kirill Kamakin
2021-11-20 11:37:31 +03:00
parent 643d886688
commit a70538b493

View File

@@ -19,9 +19,10 @@ assembleDebug:
needs: [ ] needs: [ ]
script: script:
- ./gradlew assembleDebug - ./gradlew assembleDebug
- cp app/build/outputs/apk/debug/*.apk mealie-debug.apk
artifacts: artifacts:
paths: paths:
- app/build/outputs/apk/debug/*.apk - mealie-debug.apk
checkApp: checkApp:
interruptible: true interruptible: true
@@ -45,8 +46,9 @@ assembleRelease:
- echo "keyAlias=$MEALIE_KEY_ALIAS" >> keystore.properties - echo "keyAlias=$MEALIE_KEY_ALIAS" >> keystore.properties
- echo "keyPassword=$MEALIE_KEY_PASSWORD" >> keystore.properties - echo "keyPassword=$MEALIE_KEY_PASSWORD" >> keystore.properties
- ./gradlew assembleRelease - ./gradlew assembleRelease
- cp app/build/outputs/apk/release/*.apk mealie-release.apk
artifacts: artifacts:
paths: paths:
- app/build/outputs/apk/release/*.apk - mealie-release.apk
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'