Update PBRP-new.yml

This commit is contained in:
ragebreaker 2024-12-14 16:47:28 +05:30 committed by GitHub
parent d0f0b38764
commit 43f70aab22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,15 +23,8 @@ on:
default: 'https://github.com/enter_username/repo_name' default: 'https://github.com/enter_username/repo_name'
DEVICE_TREE_BRANCH: DEVICE_TREE_BRANCH:
description: 'Device Tree Branch' description: 'Device Tree Branch'
required: true required: false
default: 'main' default: ''
DEVICE_NAME:
description: 'Device Codename'
required: true
DEVICE_PATH:
description: 'Device Path (from BoardConfig.mk)'
required: true
default: 'device/manufacturer/codename'
BUILD_TARGET: BUILD_TARGET:
description: 'Build Target (use "pbrp" for Android 11+)' description: 'Build Target (use "pbrp" for Android 11+)'
required: true required: true
@ -42,14 +35,9 @@ on:
- recovery - recovery
- boot - boot
- vendorboot - vendorboot
LDCHECK: LDCHECK_PATH:
description: 'Run dependency check' description: 'Path for dependency check (optional)'
required: false required: false
default: false
type: boolean
LDCHECKPATH:
description: 'Path for dependency check'
required: true
default: 'recovery/root/system/bin/qseecomd' default: 'recovery/root/system/bin/qseecomd'
jobs: jobs:
@ -85,11 +73,10 @@ jobs:
uses: mlm-games/pitchblack-pbrp-builder-action@main uses: mlm-games/pitchblack-pbrp-builder-action@main
id: build id: build
with: with:
MANIFEST_BRANCH: 'android-12.1' MANIFEST_BRANCH: ${{ inputs.MANIFEST_BRANCH }}
DEVICE_TREE: 'https://github.com/mlm-games/twrp_galaxy_m02s' DEVICE_TREE: ${{ inputs.DEVICE_TREE }}
DEVICE_TREE_BRANCH: 'pbrp' DEVICE_TREE_BRANCH: ${{ inputs.DEVICE_TREE_BRANCH }}
BUILD_TARGET: 'pbrp' BUILD_TARGET: ${{ inputs.BUILD_TARGET }}
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -137,6 +124,7 @@ jobs:
with: with:
OUTPUT_DIR: ${{ env.OUTPUT_DIR }} OUTPUT_DIR: ${{ env.OUTPUT_DIR }}
LDCHECKPATH: ${{ inputs.LDCHECK_PATH }} LDCHECKPATH: ${{ inputs.LDCHECK_PATH }}
continue-on-error: true
- name: Calculate Build Time - name: Calculate Build Time
if: always() if: always()