chore: use correct java version when building android

This commit is contained in:
Aman Harwara
2024-09-28 14:57:16 +05:30
parent 7871138137
commit 9e5a9e7852
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Java version
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Export version from package.json
run:
echo "PACKAGE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV