README: 20210526

This commit is contained in:
Hyy2001X 2021-05-26 21:31:15 +08:00
parent cca0c166b6
commit bb45b22e5d
1 changed files with 9 additions and 9 deletions

View File

@ -3,9 +3,9 @@
![GitHub Stars](https://img.shields.io/github/stars/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Stars&logo=github) ![GitHub Stars](https://img.shields.io/github/stars/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Stars&logo=github)
![GitHub Forks](https://img.shields.io/github/forks/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Forks&logo=github) ![GitHub Forks](https://img.shields.io/github/forks/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Forks&logo=github)
测试通过的设备: `d-team_newifi-d2`、`xiaoyu_xy-c5`、`x86_64(img、img.gz)` 测试通过的设备: `d-team_newifi-d2`、`x86_64(img、img.gz)`
测试通过的源码: `coolsnowwolf/lede:master`、`immortalwrt/immortalwrt`、`openwrt/openwrt` 测试通过的源码: `coolsnowwolf/lede`、`immortalwrt/immortalwrt`、`openwrt/openwrt`
## 部署环境(STEP 1): ## 部署环境(STEP 1):
@ -27,9 +27,9 @@
2. 把本地的 `.config` 文件重命名为你的**设备名称**并上传到`/Configs`目录 2. 把本地的 `.config` 文件重命名为你的**设备名称**并上传到`/Configs`目录
3. 编辑`.github/workflows/*.yml`文件,修改`第 9 和 29 行`为你的**设备名称** 3. 编辑`.github/workflows/*.yml`文件,修改`第 7 和 36 行`为你的**设备名称**
**更换源码与分支** 修改`第 30 行 REPO_URL:`为源码仓库地址,`第 31 行`为分支 (可选) **使用其他源码** 修改`第 38 行`为源码的仓库地址:分支
4. 按照需求编辑并定制`Scripts/AutoBuild_DiyScript.sh`文件 4. 按照需求编辑并定制`Scripts/AutoBuild_DiyScript.sh`文件
@ -73,15 +73,15 @@
``` ```
## 编译固件(STEP 3): ## 编译固件(STEP 3):
**一键编译** 先删除`第 26-27 行`的注释并保存,单(双)击重新点亮右上角的 **Star** 即可一键编译 **一键编译** 先删除`第 30-31 行`的注释并保存,单(双)击重新点亮右上角的 **Star** 即可一键编译
**定时编译** 先删除`第 23-24 行`的注释,然后按需修改相关参数并保存,[使用方法](https://www.runoob.com/w3cnote/linux-crontab-tasks.html) **定时编译** 先删除`第 27-28 行`的注释,然后按需修改相关参数并保存,[使用方法](https://www.runoob.com/w3cnote/linux-crontab-tasks.html)
**手动编译** 点击上方`Actions`,选择你要编译的设备名称,点击右方`Run workflow`,点击绿色按钮即可开始编译 **手动编译** 点击上方`Actions`,选择你要编译的设备名称,点击右方`Run workflow`,点击绿色按钮即可开始编译
**临时修改 IP 地址** 该功能仅在**手动编译**时生效,点击`Run workflow`后即可输入 IP 地址(优先级**高于** Diy_Core 中的定义) **临时修改 IP 地址** 该功能仅在**手动编译**时生效,点击`Run workflow`后即可输入 IP 地址(优先级**高于** Diy_Core 中的定义)
**SSH 连接** 使用方法参 [P3TERX's Blog](https://p3terx.com/archives/build-openwrt-with-github-actions.html) **SSH 连接** 使用方法参 [P3TERX's Blog](https://p3terx.com/archives/build-openwrt-with-github-actions.html)
## 使用 AutoUpdate 一键更新脚本: ## 使用 AutoUpdate 一键更新脚本:
@ -111,8 +111,8 @@
- [P3TERX's Blog](https://p3terx.com/archives/build-openwrt-with-github-actions.html) - [P3TERX's Blog](https://p3terx.com/archives/build-openwrt-with-github-actions.html)
- [ImmortalWrt](https://github.com/immortalwrt) - [ImmortalWrt's Source code](https://github.com/immortalwrt)
- [eSir's workflow](https://github.com/esirplayground/AutoBuild-OpenWrt/blob/master/.github/workflows/Build_OP_x86_64.yml) - [eSir 's workflow template](https://github.com/esirplayground/AutoBuild-OpenWrt/blob/master/.github/workflows/Build_OP_x86_64.yml)
- 测试与建议: [CurssedCoffin](https://github.com/CurssedCoffin) [Licsber](https://github.com/Licsber) [sirliu](https://github.com/sirliu) [teasiu](https://github.com/teasiu) - 测试与建议: [CurssedCoffin](https://github.com/CurssedCoffin) [Licsber](https://github.com/Licsber) [sirliu](https://github.com/sirliu) [teasiu](https://github.com/teasiu)