Skip to content

Commit

Permalink
Update Recovery Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroesufos authored Sep 21, 2024
1 parent 1e975c8 commit 882d559
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Recovery Build.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Recovery Build
name: Recovery Image

on:
workflow_dispatch:
inputs:
MANIFEST_URL:
description: 'MANIFEST_URL (if want to use SSH keys, use [email protected]:XXXXX)'
required: true
default: 'https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp'
default: 'corfu'
MANIFEST_BRANCH:
description: 'MANIFEST_BRANCH'
required: true
default: 'twrp-12.1'
DEVICE_TREE_URL:
description: 'DEVICE_TREE_URL'
required: true
default: 'https://github.com/TeamWin/android_device_asus_I003D'
default: 'https://github.com/TeamWin/android_device_motorola_corfu'
DEVICE_TREE_BRANCH:
description: 'DEVICE_TREE_BRANCH'
required: true
default: 'android-12.1'
DEVICE_PATH:
description: 'DEVICE_PATH'
required: true
default: 'device/asus/I003D'
default: 'device/motorola/corfu'
COMMON_TREE_URL:
description: 'COMMON_TREE_URL (if no common tree, leave blank)'
required: false
Expand All @@ -32,11 +32,11 @@ on:
DEVICE_NAME:
description: 'DEVICE_NAME'
required: true
default: 'I003D'
default: 'corfu'
MAKEFILE_NAME:
description: 'MAKEFILE_NAME'
required: true
default: 'twrp_I003D'
default: 'twrp_corfu'
BUILD_TARGET:
description: 'BUILD_TARGET'
required: true
Expand Down Expand Up @@ -104,8 +104,8 @@ jobs:
mkdir workspace
cd workspace
echo "workspace-folder=$(pwd)" >> $GITHUB_OUTPUT
git config --global user.name "Nico170420"
git config --global user.email "b170420nc@gmail.com"
git config --global user.name "kroesufos"
git config --global user.email "kroesufos@gmail.com"
repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
id: pwd

Expand Down Expand Up @@ -168,4 +168,4 @@ jobs:
Device: ${{ github.event.inputs.DEVICE_NAME }}
Target: ${{ github.event.inputs.BUILD_TARGET }}.img
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CORFU }}

0 comments on commit 882d559

Please sign in to comment.