Update Make.yml

This commit is contained in:
Aizawa Hikaru 2021-11-29 02:12:20 +08:00 committed by GitHub
parent ca35d1b051
commit 2d48b20284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,6 @@ name: Make Recovery
on:
workflow_dispatch:
inputs:
LIBRARY_NAME:
description: 'LIBRARY_NAME'
required: false
default: 'omni_'
LIBRARY_URL:
description: 'LIBRARY_URL'
required: true
@ -30,11 +26,7 @@ on:
DEVICE_NAME:
description: 'DEVICE_NAME'
required: true
default: 'msmnile'
DEVICE_TYPE:
description: 'DEVICE_TYPE'
required: true
default: 'eng'
default: 'omni_msmnile'
jobs:
build:
@ -97,7 +89,7 @@ jobs:
cd ${{ steps.pwd.outputs.pwd }}
export ALLOW_MISSING_DEPENDENCIES=true
source build/envsetup.sh
lunch ${{ github.event.inputs.LIBRARY_NAME }}${{ github.event.inputs.DEVICE_NAME }}-${{ github.event.inputs.DEVICE_TYPE }}
lunch ${{ github.event.inputs.DEVICE_NAME }}-eng
make clean
make recoveryimage -j$(nproc --all)