Skip to content

Commit

Permalink
Only include Java for Omni builds
Browse files Browse the repository at this point in the history
AOSP trees use prebuilt
  • Loading branch information
CaptainThrowback committed Feb 17, 2024
1 parent d49bd1a commit 2591380
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/Recovery Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ jobs:
sudo add-apt-repository universe
sudo apt -y install libncurses5
- name: Install OpenJDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8

- name: Check Build Tree
uses: haya14busa/[email protected]
id: buildtree
Expand All @@ -104,6 +98,13 @@ jobs:
if_true: aosp
if_false: omni

- name: Install OpenJDK
if: steps.buildtree.outputs.value == 'omni'
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8

- name: Install repo
run: |
mkdir ~/bin
Expand Down

0 comments on commit 2591380

Please sign in to comment.