Update workflows for flavor configuration

Change-Id: I0e9fe55b2e3767223bea44a6ebd3c9e2e5ee2be0
pull/130/head
Alex Vanyo 3 years ago
parent 2305b87d17
commit fab95a2498

@ -44,31 +44,18 @@ jobs:
- name: Run local tests
run: ./gradlew testDemoDebug testProdDebug --stacktrace
- name: Upload Demo build outputs (APKs)
- name: Upload build outputs (APKs)
uses: actions/upload-artifact@v2
with:
name: build-outputs-demo
path: app/demo/build/outputs
name: build-outputs
path: app/build/outputs
- name: Upload Prod build outputs (APKs)
uses: actions/upload-artifact@v2
with:
name: build-outputs-prod
path: app/prod/build/outputs
- name: Upload Demo build reports
if: always()
uses: actions/upload-artifact@v2
with:
name: build-reports-demo
path: app/demo/build/reports
- name: Upload Prod build reports
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v2
with:
name: build-reports-prod
path: app/prod/build/reports
name: build-reports
path: app/build/reports
androidTest:
needs: build

@ -45,6 +45,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: app/build/outputs/apk/debug/app-debug.apk
asset_name: app-debug.apk
asset_path: app/build/outputs/apk/demo/debug/app-demo-debug.apk
asset_name: app-demo-debug.apk
asset_content_type: application/vnd.android.package-archive

Loading…
Cancel
Save