mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix skip android debug build
This commit is contained in:
parent
046898deda
commit
c89391cfd0
22
.github/workflows/android-build.yml
vendored
22
.github/workflows/android-build.yml
vendored
@ -49,11 +49,11 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
|
|
||||||
- name: 'Build Android Debug'
|
# - name: 'Build Android Debug'
|
||||||
if: inputs.semver == '' # Only build debug if this is a pre-release
|
# if: inputs.semver == '' # Only build debug if this is a pre-release
|
||||||
run: |
|
# run: |
|
||||||
cd mobile/android
|
# cd mobile/android
|
||||||
./gradlew assembleDebug
|
# ./gradlew assembleDebug
|
||||||
|
|
||||||
- name: 'Build Android Release'
|
- name: 'Build Android Release'
|
||||||
run: |
|
run: |
|
||||||
@ -78,12 +78,12 @@ jobs:
|
|||||||
name: robosats-${{ steps.commit.outputs.short }}.apk
|
name: robosats-${{ steps.commit.outputs.short }}.apk
|
||||||
path: mobile/android/app/build/outputs/apk/release/app-release.apk
|
path: mobile/android/app/build/outputs/apk/release/app-release.apk
|
||||||
|
|
||||||
- name: 'Upload .apk Debug Artifact (for Pre-release)'
|
# - name: 'Upload .apk Debug Artifact (for Pre-release)'
|
||||||
if: inputs.semver == '' # Only build debug if this is a pre-release
|
# if: inputs.semver == '' # Only build debug if this is a pre-release
|
||||||
uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: robosats-debug-${{ steps.commit.outputs.short }}.apk
|
# name: robosats-debug-${{ steps.commit.outputs.short }}.apk
|
||||||
path: mobile/android/app/build/outputs/apk/debug/app-debug.apk
|
# path: mobile/android/app/build/outputs/apk/debug/app-debug.apk
|
||||||
|
|
||||||
- name: 'Create Pre-release'
|
- name: 'Create Pre-release'
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Loading…
Reference in New Issue
Block a user