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: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 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 - name: Export version from package.json
run: run:
echo "PACKAGE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV echo "PACKAGE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV

View File

@@ -3,7 +3,7 @@
"version": "3.195.5", "version": "3.195.5",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "dist/app.js", "main": "dist/app.js",
"author": "Standard Notes.", "author": "Standard Notes",
"private": true, "private": true,
"files": [ "files": [
"dist" "dist"