mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
chore: Configure VM for release workflow.
This commit is contained in:
parent
add75498ef
commit
462e27304d
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user