From d781b07b7d14c42bf46dfd8d5819d68a5626eea5 Mon Sep 17 00:00:00 2001 From: john4650-hub Date: Thu, 21 Sep 2023 16:05:20 +0300 Subject: [PATCH] added read me --- codemagic.yaml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/codemagic.yaml b/codemagic.yaml index edb731c..59c1be7 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -1,5 +1,31 @@ workflows: ace-release: name: Ace release + environment: + - node: 12.14.0 + - npm: 6.13.7 + - java: 1.8 + triggering: + events: + - push + branch_patterns: + - pattern: '*' + include: true + source: true scripts: - - apt list + - name: Build + script: | + sudo npm install --save-dev webpack webpack-cli + cd www && mkdir dist && cd .. + npm run build + ls + sudo npm install -g cordova@11.0.0 + sudo cordova platform add android + sh clean.sh + cd platforms + sudo cordova build android + ls -a + artifacts: + - android/app/build/outputs/apk/debug/app-debug.apk + +