feat(ci): also build staging profile in build workflow
This commit is contained in:
parent
b2d0318533
commit
b43ad151a5
2 changed files with 5 additions and 2 deletions
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
github: [ "rushiiMachine" ]
|
||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -22,11 +22,13 @@ jobs:
|
|||
cache: "gradle"
|
||||
|
||||
- name: Build project with Gradle
|
||||
run: chmod +x ./gradlew && ./gradlew :app:assembleDebug --stacktrace
|
||||
run: chmod +x ./gradlew && ./gradlew :app:assembleDebug :app:assembleStaging --stacktrace
|
||||
|
||||
- name: Upload apk as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: app
|
||||
if-no-files-found: error
|
||||
path: app/build/outputs/apk/debug/app-debug.apk
|
||||
path: |
|
||||
app/build/outputs/apk/debug/app-debug.apk
|
||||
app/build/outputs/apk/staging/app-staging.apk
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue