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: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
LIBRARY_NAME:
description: 'LIBRARY_NAME'
required: false
default: 'omni_'
LIBRARY_URL: LIBRARY_URL:
description: 'LIBRARY_URL' description: 'LIBRARY_URL'
required: true required: true
@ -30,11 +26,7 @@ on:
DEVICE_NAME: DEVICE_NAME:
description: 'DEVICE_NAME' description: 'DEVICE_NAME'
required: true required: true
default: 'msmnile' default: 'omni_msmnile'
DEVICE_TYPE:
description: 'DEVICE_TYPE'
required: true
default: 'eng'
jobs: jobs:
build: build:
@ -97,7 +89,7 @@ jobs:
cd ${{ steps.pwd.outputs.pwd }} cd ${{ steps.pwd.outputs.pwd }}
export ALLOW_MISSING_DEPENDENCIES=true export ALLOW_MISSING_DEPENDENCIES=true
source build/envsetup.sh 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 clean
make recoveryimage -j$(nproc --all) make recoveryimage -j$(nproc --all)