Skip to content

Commit

Permalink
Merge pull request #18 from pyronear/create-release-apk-in-ci
Browse files Browse the repository at this point in the history
Change from debug to release apk
  • Loading branch information
camcamBoir authored Apr 11, 2024
2 parents 881e3db + 9b251ee commit 1217418
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- build-github-action
- develop

jobs:
build:
Expand All @@ -21,13 +21,13 @@ jobs:
npm install
- name: Build Android Release
run: |
cd android && ./gradlew assembleDebug --no-daemon
cd android && ./gradlew assembleRelease --no-daemon
- name: List files
run: |
ls -R android/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: app-debug.apk
path: ./PyroApp/android/app/build/outputs/apk/debug/app-debug.apk
name: app-release.apk
path: ./PyroApp/android/app/build/outputs/apk/debug/app-release.apk
retention-days: 30

0 comments on commit 1217418

Please sign in to comment.