Skip to content

Commit

Permalink
builder: remove dependencies check
Browse files Browse the repository at this point in the history
* Since most device tree now uses prebuilt oss kernel anyway instead of inline build, it is not necessary anymore.

Signed-off-by: Carlo Dandan <[email protected]>
  • Loading branch information
carlodandan committed Oct 1, 2023
1 parent d306143 commit ea3ec91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 94 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/Recovery-Builder-PBRP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,24 +125,6 @@ jobs:
fi
continue-on-error: true

- name: Check Dependencies
run: |
cd android-recovery
if [ -f ${{ github.event.inputs.DEVICE_PATH }}/twrp.dependencies ]; then
echo "DEPENDENCIES=twrp.dependencies" >> $GITHUB_ENV
elif [ -f ${{ github.event.inputs.DEVICE_PATH }}/omni.dependencies ]; then
echo "DEPENDENCIES=omni.dependencies" >> $GITHUB_ENV
else
echo "No dependencies file found!"
fi
continue-on-error: true

- name: Sync Dependencies
run: |
bash ${GITHUB_WORKSPACE}/scripts/convert.sh ${{ github.event.inputs.DEVICE_PATH }}/${{ env.DEPENDENCIES }}
repo sync -j$(nproc --all)
continue-on-error: true

- name: Building Image
run: |
cd android-recovery
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/Recovery-Builder-TWRP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,24 +132,6 @@ jobs:
fi
continue-on-error: true

- name: Check Dependencies
run: |
cd android-recovery
if [ -f ${{ github.event.inputs.DEVICE_PATH }}/twrp.dependencies ]; then
echo "DEPENDENCIES=twrp.dependencies" >> $GITHUB_ENV
elif [ -f ${{ github.event.inputs.DEVICE_PATH }}/omni.dependencies ]; then
echo "DEPENDENCIES=omni.dependencies" >> $GITHUB_ENV
else
echo "No dependencies file found!"
fi
continue-on-error: true

- name: Sync Dependencies
run: |
bash ${GITHUB_WORKSPACE}/scripts/convert.sh ${{ github.event.inputs.DEVICE_PATH }}/${{ env.DEPENDENCIES }}
repo sync -j$(nproc --all)
continue-on-error: true

- name: Building Image
run: |
cd android-recovery
Expand Down
58 changes: 0 additions & 58 deletions scripts/convert.sh

This file was deleted.

0 comments on commit ea3ec91

Please sign in to comment.