Code Monkey home page Code Monkey logo

actions_build_recovery's Introduction

利用Github Actions编译REC


A Github Action to build Recovery


由于编译时间较长,建议把.github/workflows/actions_recovery.yml末尾上传处的${{ secrets.GITHUB_TOKEN }}改成自己的Personal Access Token

注意保护自己的Personal Access Token,将它放入仓库Settings里的Secrets里后用${{ secrets.YOUR_TOKEN_NAME }}来替换${{ secrets.GITHUB_TOKEN }}

比如我的secret名字叫做work.则使用${{ secrets.work }}

配置

配置文件是config.json

名称 类型 描述
twrp_url String Recovery Manifest地址
twrp_branch String Recovery Manifest分支
git_username String 您使用Git的用户名
git_email String 您使用Git的邮箱(Github可使用Github ID+Github用户名@users.noreply.github.com
use_own_dt Boolean 指示是否使用个人设备树(此项为true后以下三项起效)
dt_url String 您使用的设备树的地址(格式:USER/REPO
dt_branch String 您使用的设备树的分支
dt_remote String 您使用设备树的存储库(如github/gitlab
dt_path String 指示设备树本地保存位置(示例device/huawei/kiwi
device_code String 您将要编译机型的机型代号
fix_product Boolean 指示是否修复无法找到设备的问题
fix_branch String 指示修复以上问题所使用的分支
fix_misscom Boolean 指示是否修复缺少device/qcom/common的问题
fix_busybox Boolean 指示是否修复缺少busybox的问题

开始

Fork此仓库后,点击右上角Star就会开始

编译结果

可以在Release下载

actions_build_recovery's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.