github: fix paths to binaries

Fixes: 9fb492b572 ("Deploy both variants to snapshot directory (#914)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-07-22 14:23:17 +05:30
parent fb5f4e421d
commit bf4955675a
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -57,19 +57,19 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: APS Non-Free Release APK name: APS Non-Free Release APK
path: app/build/outputs/apk/nonFree/release/app-release.apk path: app/build/outputs/apk/nonFree/release/app-nonFree-release.apk
- name: Upload non-free release Bundle - name: Upload non-free release Bundle
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: APS Non-Free Release Bundle name: APS Non-Free Release Bundle
path: app/build/outputs/bundle/nonFree/release/app-release.aab path: app/build/outputs/bundle/nonFreeRelease/app-nonFree-release.aab
- name: Upload free release APK - name: Upload free release APK
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: APS Free Release APK name: APS Free Release APK
path: app/build/outputs/apk/free/release/app-release.apk path: app/build/outputs/apk/free/release/app-free-release.apk
- name: Clean secrets - name: Clean secrets
if: always() if: always()
@ -130,7 +130,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/nonFree/app-release.apk asset_path: ./artifacts/nonFree/app-nonFree-release.apk
asset_name: APS-nonFree_${{ steps.get_version.outputs.VERSION }}.apk asset_name: APS-nonFree_${{ steps.get_version.outputs.VERSION }}.apk
asset_content_type: application/vnd.android.package-archive asset_content_type: application/vnd.android.package-archive
@ -140,7 +140,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/nonFree/app-release.aab asset_path: ./artifacts/nonFree/app-nonFree-release.aab
asset_name: APS-nonFree_${{ steps.get_version.outputs.VERSION }}.aab asset_name: APS-nonFree_${{ steps.get_version.outputs.VERSION }}.aab
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
@ -150,6 +150,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/free/app-release.apk asset_path: ./artifacts/free/app-free-release.apk
asset_name: APS-free_${{ steps.get_version.outputs.VERSION }}.apk asset_name: APS-free_${{ steps.get_version.outputs.VERSION }}.apk
asset_content_type: application/vnd.android.package-archive asset_content_type: application/vnd.android.package-archive