mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix GitHub Actions script
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: uhabits-android/uhabits-android/build/outputs/
|
path: uhabits-android/build/outputs/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: build
|
needs: build
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: uhabits-android/uhabits-android/build/outputs/
|
path: uhabits-android/build/outputs/
|
||||||
|
|
||||||
- name: Run medium tests
|
- name: Run medium tests
|
||||||
uses: ReactiveCircus/android-emulator-runner@v2
|
uses: ReactiveCircus/android-emulator-runner@v2
|
||||||
|
|||||||
4
build.sh
4
build.sh
@@ -89,14 +89,14 @@ build_apk() {
|
|||||||
$GRADLE :uhabits-android:assembleRelease
|
$GRADLE :uhabits-android:assembleRelease
|
||||||
cp -v \
|
cp -v \
|
||||||
uhabits-android/build/outputs/apk/release/uhabits-android-release.apk \
|
uhabits-android/build/outputs/apk/release/uhabits-android-release.apk \
|
||||||
build/loop-$VERSION-release.apk
|
uhabits-android/build/loop-$VERSION-release.apk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_info "Building debug APK..."
|
log_info "Building debug APK..."
|
||||||
$GRADLE :uhabits-android:assembleDebug --stacktrace || fail
|
$GRADLE :uhabits-android:assembleDebug --stacktrace || fail
|
||||||
cp -v \
|
cp -v \
|
||||||
uhabits-android/build/outputs/apk/debug/uhabits-android-debug.apk \
|
uhabits-android/build/outputs/apk/debug/uhabits-android-debug.apk \
|
||||||
build/loop-$VERSION-debug.apk
|
uhabits-android/build/loop-$VERSION-debug.apk
|
||||||
}
|
}
|
||||||
|
|
||||||
build_instrumentation_apk() {
|
build_instrumentation_apk() {
|
||||||
|
|||||||
Reference in New Issue
Block a user