From 462e27304d446cfa8ce5310a9b861d24ab31cd64 Mon Sep 17 00:00:00 2001 From: Chris Arriola Date: Mon, 25 Jan 2021 14:29:52 -0800 Subject: [PATCH] chore: Configure VM for release workflow. --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ffc62e6..80ea0a16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ name: Release on: push: branches: [ main ] + workflow_dispatch: jobs: release: runs-on: ubuntu-latest @@ -24,6 +25,16 @@ jobs: uses: actions/checkout@v2 with: token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} + + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Uninstall NDK + run: | + sudo ${ANDROID_HOME}/tools/bin/sdkmanager --uninstall 'ndk-bundle' + - name: Build APKs run: | echo "Generating ApiDemos (Java) APKs"