From 060ba01b7f7ce39ef360ad84bfbc2a79ef1499a6 Mon Sep 17 00:00:00 2001 From: Dave Olsthoorn Date: Tue, 14 Jul 2020 18:49:14 +0200 Subject: [PATCH] Add functional "run-test" action --- .github/workflows/run-test.yml | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/run-test.yml diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml new file mode 100644 index 0000000..584b319 --- /dev/null +++ b/.github/workflows/run-test.yml @@ -0,0 +1,39 @@ +name: run-test + +on: + pull_request: + paths-ignore: + - '**.md' + push: + branches: + - master + - releases/* + paths-ignore: + - '**.md' + +jobs: + build: + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: + - ubuntu-latest + - windows-latest + - macos-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Setup Android SDK + id: 'setup-android' + uses: ./ + - name: Run sdkmanager + if: runner.os != 'windows' + run: | + sdkmanager --sdk_root=${ANDROID_HOME} "build-tools;30.0.1" + - name: Run sdkmanager + if: runner.os == 'windows' + run: | + sdkmanager.bat --sdk_root=${ANDROID_HOME} "build-tools;30.0.1"