Skip to content

Commit

Permalink
fix build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Apr 20, 2024
1 parent 4b3511c commit da64946
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/android_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
java-version: 17

- name: set up python 3.8
uses: actions/setup-python@v4
Expand Down Expand Up @@ -59,6 +59,7 @@ jobs:
name: lint-report
path: app/build/reports/lint-results-*.html
if-no-files-found: error

test:
runs-on: macos-11
strategy:
Expand Down Expand Up @@ -105,11 +106,18 @@ jobs:
- name: pip
run: python3 -m ensurepip
- name: conan
run: pip3 install conan
- name: conan revisions
run: conan config set general.revisions_enabled=1
- name: conan repo
run: conan remote add odr https://odr.jfrog.io/artifactory/api/conan/odr-conan
run: pip3 install --upgrade conan==1.*

- name: checkout odr.core
uses: actions/checkout@v3
with:
repository: opendocument-app/OpenDocument.core
ref: v3.0.0
path: OpenDocument.core
- name: conan
run: conan export OpenDocument.core odrcore/3.0.0@
- name: remove odr.core
run: rm -rf OpenDocument.core

- name: Android Virtual Device (AVD) cache
uses: actions/cache@v3
Expand Down

0 comments on commit da64946

Please sign in to comment.