Skip to content

Commit

Permalink
TWRP: Fix crave set project
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Apr 3, 2024
1 parent b5599b0 commit 6b1996e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,13 @@ jobs:
case "${{ github.event.inputs.BASE_PROJECT }}" in
"TWRP 12.1")
repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
id: pwd
esac
if [ "${{ github.event.inputs.BUILD_DIFFERENT_ROM }}" == "echo 'Build Starting!'" ]; then
echo "Building ${{ github.event.inputs.BASE_PROJECT }}"
else
export BUILD_DIFFERENT_ROM="${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
fi
echo "BUILD_DIFFERENT_ROM=$BUILD_DIFFERENT_ROM" >> "$GITHUB_ENV"
# Download and configure 'crave'.
- name: Configure the 'crave' environment
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,15 @@ jobs:
case "${{ github.event.inputs.BASE_PROJECT }}" in
"TWRP 12.1")
repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
id: pwd
;;
esac
if [ "${{ github.event.inputs.BUILD_DIFFERENT_ROM }}" == "echo 'Build Starting!'" ]; then
echo "Building ${{ github.event.inputs.BASE_PROJECT }}"
else
export BUILD_DIFFERENT_ROM="${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
fi
echo "BUILD_DIFFERENT_ROM=$BUILD_DIFFERENT_ROM" >> "$GITHUB_ENV"
# Download and configure 'crave'.
- name: Configure the 'crave' environment
Expand Down

0 comments on commit 6b1996e

Please sign in to comment.