.apk to build_server
This commit is contained in:
parent
821644e2a4
commit
418ca7e6ee
|
@ -25,4 +25,8 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: rusEFI-release-unsigned
|
name: rusEFI-release-unsigned
|
||||||
path: ./android/app/build/outputs/apk/release/app-release-unsigned.apk
|
path: ./android/app/build/outputs/apk/release/rusEFI-release-unsigned.apk
|
||||||
|
|
||||||
|
- name: Upload rusEFI Android application
|
||||||
|
working-directory: .
|
||||||
|
run: java_console/upload_server.sh ${{ secrets.RUSEFI_BUILD_FTP_USER }} ${{ secrets.RUSEFI_BUILD_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }} . android/app/build/outputs/apk/release/rusEFI-release-unsigned.apk
|
||||||
|
|
|
@ -32,5 +32,5 @@ jobs:
|
||||||
path: ./java_console/build/*.txt
|
path: ./java_console/build/*.txt
|
||||||
|
|
||||||
- name: Upload rusEFI server
|
- name: Upload rusEFI server
|
||||||
working-directory: ./java_console
|
working-directory: .
|
||||||
run: ./upload_server.sh ${{ secrets.RUSEFI_BUILD_FTP_USER }} ${{ secrets.RUSEFI_BUILD_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }}
|
run: java_console/upload_server.sh ${{ secrets.RUSEFI_BUILD_FTP_USER }} ${{ secrets.RUSEFI_BUILD_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }} autoupdate java_console_binary/rusefi_server.jar
|
||||||
|
|
|
@ -13,6 +13,7 @@ android {
|
||||||
|
|
||||||
compileSdkVersion 30
|
compileSdkVersion 30
|
||||||
buildToolsVersion "30.0.0"
|
buildToolsVersion "30.0.0"
|
||||||
|
project.archivesBaseName = "rusEFI";
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.rusefi.app"
|
applicationId "com.rusefi.app"
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# we have code duplication with three "upload_xxx*" files
|
||||||
|
# todo: clean it up? use this version with five parameters for all use-cases?
|
||||||
|
# todo: rename this script since it's a universal one?
|
||||||
|
#
|
||||||
|
|
||||||
if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then
|
if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then
|
||||||
echo "No Secrets"
|
echo "No Secrets"
|
||||||
|
@ -8,4 +13,4 @@ fi
|
||||||
|
|
||||||
echo -e "\nUploading plugin body"
|
echo -e "\nUploading plugin body"
|
||||||
|
|
||||||
ncftpput -m -R -v -u "$1" -p "$2" "$3" autoupdate ../java_console_binary/rusefi_server.jar
|
ncftpput -m -R -v -u "$1" -p "$2" "$3" $4 $5
|
||||||
|
|
Loading…
Reference in New Issue