diff --git a/.github/workflows/OrangeFox-Compile.yml b/.github/workflows/OrangeFox-Compile.yml index cd00505..338102a 100644 --- a/.github/workflows/OrangeFox-Compile.yml +++ b/.github/workflows/OrangeFox-Compile.yml @@ -124,16 +124,16 @@ jobs: id: fox_branch with: cond: ${{ github.event.inputs.MANIFEST_BRANCH == '11.0' || github.event.inputs.MANIFEST_BRANCH == '12.1' }} - if_true: lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && mka adbd ${{ github.event.inputs.BUILD_TARGET }}image - if_false: lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && mka ${{ github.event.inputs.BUILD_TARGET }}image + if_true: lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && mka adbd ${{ github.event.inputs.BUILD_TARGET }}image + if_false: lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && mka ${{ github.event.inputs.BUILD_TARGET }}image - name: Building OrangeFox run: | cd fox_${{ github.event.inputs.MANIFEST_BRANCH }} + set +e source build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true - export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER=1 - export LC_ALL="C" + set -e ${{ steps.fox_branch.outputs.value }} working-directory: ${{ steps.pwd.outputs.workdir }}