From 4b1005738bff3649637d5849d54a360302fd57e6 Mon Sep 17 00:00:00 2001 From: john4650-hub Date: Sat, 7 Oct 2023 03:48:52 +0300 Subject: [PATCH] added read me --- .circleci/config.yml | 32 -------------------------------- .github/workflows/build.yml | 1 + 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d84341a..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: 2.1 - -jobs: - build: - docker: - - image: cimg/android:2022.01.1-node - steps: - - checkout - - run: - name: generate android project - command: | - 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 - cordova platform add android - ls - cordova plugin add cordova-plugin-file@7.0.0 - sh clean.sh - cd platforms - export ANDROID_HOME=/home/circleci/android-sdk - export ANDROID_SDK_ROOT=/home/circleci/android-sdk - export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 - export PATH=$PATH:/home/circleci/android-sdk:/ - cordova build android - ls -a - ls -lh android/app/build/outputs/apk/debug/ - - - store_artifacts: - path: android/app/build/outputs/apk/debug/app-debug.apk - diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d6ebb2..d305b4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,7 @@ jobs: - run: sh clean.sh - run: | + sudo apt-get install zipalign cd platforms sudo cordova build android ls -a