diff --git a/.github/workflows/build_twrp.yml b/.github/workflows/build_twrp.yml index e66472c..4849c42 100644 --- a/.github/workflows/build_twrp.yml +++ b/.github/workflows/build_twrp.yml @@ -11,10 +11,6 @@ on: description: 'MANIFEST_BRANCH' required: true default: 'twrp-9.0' - DEVICE_TREE_BRANCH: - description: 'DEVICE_TREE_BRANCH' - required: true - default: 'main' DEVICE_PATH: description: 'DEVICE_PATH' required: true @@ -28,11 +24,11 @@ on: DEVICE_NAME: description: 'DEVICE_NAME' required: true - default: 'H3000S' + default: 'a05bd' MAKEFILE_NAME: description: 'MAKEFILE_NAME' required: true - default: 'a05bd' + default: 'omni_a05bd' BUILD_TARGET: description: 'BUILD_TARGET' required: true @@ -50,7 +46,6 @@ jobs: echo "::group::User Environment Variables" echo "Manifest URL: ${{ github.event.inputs.MANIFEST_URL }}" echo "Manifest Branch: ${{ github.event.inputs.MANIFEST_BRANCH }}" - echo "Device Tree Branch: ${{ github.event.inputs.DEVICE_TREE_BRANCH }}" echo "Device Path: ${{ github.event.inputs.DEVICE_PATH }}" echo "Device Name: ${{ github.event.inputs.DEVICE_NAME }}" echo "Makefile Name: ${{ github.event.inputs.MAKEFILE_NAME }}" @@ -60,7 +55,6 @@ jobs: # You might want to Checkout your repo first, but not mandatory - name: Check Out uses: actions/checkout@v3 - # Cleanup The Actions Workspace Using Custom Composite Run Actions - name: Cleanup uses: rokibhasansagar/slimhub_actions@main @@ -106,7 +100,12 @@ jobs: run: | repo sync -j$(nproc --all) --force-sync working-directory: workspace - + + - name: Move device tree + run: | + mv ./${{ github.event.inputs.DEVICE_NAME }} ./${{ steps.pwd.outputs.workspace-folder }}/${{ github.event.inputs.DEVICE_PATH }} + working-directory: . + - name: Clone common tree if: | github.event.inputs.COMMON_TREE_URL != null