Skip to content

Commit 462e273

Browse files
committed
chore: Configure VM for release workflow.
1 parent add7549 commit 462e273

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ name: Release
1616
on:
1717
push:
1818
branches: [ main ]
19+
workflow_dispatch:
1920
jobs:
2021
release:
2122
runs-on: ubuntu-latest
@@ -24,6 +25,16 @@ jobs:
2425
uses: actions/checkout@v2
2526
with:
2627
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
28+
29+
- name: set up JDK 1.8
30+
uses: actions/setup-java@v1
31+
with:
32+
java-version: 1.8
33+
34+
- name: Uninstall NDK
35+
run: |
36+
sudo ${ANDROID_HOME}/tools/bin/sdkmanager --uninstall 'ndk-bundle'
37+
2738
- name: Build APKs
2839
run: |
2940
echo "Generating ApiDemos (Java) APKs"

0 commit comments

Comments
 (0)