Skip to content

Commit

Permalink
Fix: Install ninja for android builds, and update java
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Dec 13, 2024
1 parent 505ae11 commit 6bb9dca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/android-play-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

- name: Setup cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -51,7 +58,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
java-version: '21'

- name: Disable Flutter CLI animations
run: flutter config --no-cli-animations
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

- name: Setup cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -50,7 +57,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
java-version: '21'

- name: Disable Flutter CLI animations
run: flutter config --no-cli-animations
Expand Down Expand Up @@ -97,6 +104,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

- name: Setup cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -128,7 +142,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
java-version: '21'

- name: Disable Flutter CLI animations
run: flutter config --no-cli-animations
Expand Down

0 comments on commit 6bb9dca

Please sign in to comment.