Skip to content

Commit

Permalink
Cl for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea authored Aug 3, 2024
1 parent f4f903b commit 8e64b9a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
- name: install Linux dependencies
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.1
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle

- name: Setup NDK
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25b
local-cache: true

# TODO check after https://github.com/nttld/setup-ndk/issues/518 is fixed
- name: Restore Android Symlinks
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
Expand All @@ -41,4 +43,8 @@ jobs:
ln -sf "$new_target" "$link"
echo "Changed $(basename "$link") from $current_target to $new_target"
done
- name: build Tauri API
run: |
yarn
yarn tauri build

0 comments on commit 8e64b9a

Please sign in to comment.