From ca876e28941f2bb0b0a81695db8bec64505930e4 Mon Sep 17 00:00:00 2001 From: X1nto Date: Mon, 20 Jul 2020 21:11:15 +0400 Subject: [PATCH] replaced Travis with GitHub Actions --- .github/workflows/debug.yml | 34 ++++++++++++++++++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/debug.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml new file mode 100644 index 00000000..8b0cfff9 --- /dev/null +++ b/.github/workflows/debug.yml @@ -0,0 +1,34 @@ +name: Debug APK Builder + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: JDK 8 Setup + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Grant rights + run: chmod +x ./gradlew + + - name: Build project + run: ./gradlew build + + - name: Build APK + run: ./gradlew assembleDebug + + - name: Upload to Artifacts + uses: actions/upload-artifact@v2 + with: + name: 'MicroG' + path: play-services-core/build/outputs/apk/debug/play-services-core-debug.apk \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index daf99eeb..00000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: android -sudo: false -script: - - jdk_switcher use oraclejdk8 - - echo sdk.dir $ANDROID_HOME > local.properties - - export TERM=dumb - - export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m" - - ./gradlew --stacktrace assemble -android: - components: - - tools - - platform-tools - - build-tools-29.0.3 - - android-29 - - extra-android-m2repository