diff --git a/.github/workflows/build-armbian.yml b/.github/workflows/build-armbian.yml index 4532105766..dccad21669 100644 --- a/.github/workflows/build-armbian.yml +++ b/.github/workflows/build-armbian.yml @@ -50,10 +50,10 @@ jobs: sudo chown $USER:$GROUPS /workdir echo "COMPILE_STARTINGTIME=$(date +"%Y.%m.%d.%H%M")" >> $GITHUB_ENV - ARR_RELEASE=("bionic" "focal" "hirsute" "bullseye" "buster" "stretch") + ARR_RELEASE=("focal" "bullseye" "buster") set_release="${{ github.event.inputs.set_release }}" if [[ -z "${set_release}" || -z "$(echo "${ARR_RELEASE[@]}" | grep -w "${set_release}")" ]]; then - set_release="bullseye" + set_release="focal" fi echo "ARMBIAN_RELEASE=${set_release}" >> $GITHUB_ENV diff --git a/README.cn.md b/README.cn.md index de8d63b10f..7a2c3ce70d 100644 --- a/README.cn.md +++ b/README.cn.md @@ -182,7 +182,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) 1. 关于 Workflows 文件的配置在 [.yml](.github/workflows/build-armbian.yml) 文件里。可以设置需要编译的盒子的 `SOC` 等参数,具体详见 `Rebuild Armbian for amlogic s9xxx` 节点。 -2. 全新编译:在 [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) 页面里选择 ***`Build armbian`*** ,根据 Armbian 官方支持的 OS 版本,可在 [RELEASE](https://docs.armbian.com/Developer-Guide_Build-Options/) 里选择 Ubuntu 系列:`bionic` / `focal` / `hirsute` ,或者 Debian 系列:`bullseye` / `buster` / `stretch` 。在 `BOARD` 里可选 `lepotato` / `odroidn2` 等。可根据需要在 `More build options` 里为 `compile.sh` 添加更多设置选项。点击 ***`Run workflow`*** 按钮即可编译。 +2. 全新编译:在 [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) 页面里选择 ***`Build armbian`*** ,根据 Armbian 官方支持的 OS 版本,可在 [RELEASE](https://docs.armbian.com/Developer-Guide_Build-Options/) 里选择 Ubuntu 系列:`focal`,或者 Debian 系列:`bullseye` / `buster` 。在 `BOARD` 里可选 `lepotato` / `odroidn2` 等。可根据需要在 `More build options` 里为 `compile.sh` 添加更多设置选项。点击 ***`Run workflow`*** 按钮即可编译。 3. 再次编译:如果 [Releases](https://github.com/ophub/amlogic-s9xxx-armbian/releases) 中有已经编译好的 `Armbian_.*-trunk_.*.img.gz` 文件,你只是想再次制作其他不同 soc 的盒子,可以跳过 Armbian 源文件的编译,直接进行二次制作。在 [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) 页面中选择 ***`Use Releases file to build armbian`*** ,点击 ***`Run workflow`*** 按钮即可二次编译。 diff --git a/README.md b/README.md index 16cf1ef38f..e592c527fd 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) 1. Workflows configuration in [.yml](.github/workflows/build-armbian.yml) files. Set the armbian `SOC` you want to build in `Rebuild Armbian for amlogic s9xxx`. -2. New compilation: Select ***`Build armbian`*** on the [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) page, According to the OS version officially supported by Armbian, In [RELEASE](https://docs.armbian.com/Developer-Guide_Build-Options/), you can choose Ubuntu series: `bionic` / `focal` / `hirsute`, or Debian series: `bullseye` / `buster` / `stretch`, and in `BOARD`, you can choose `lepotato` / `odroidn2`, etc., You can add more setting options for `compile.sh` in `More build options` as needed. Click the ***`Run workflow`*** button. +2. New compilation: Select ***`Build armbian`*** on the [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) page, According to the OS version officially supported by Armbian, In [RELEASE](https://docs.armbian.com/Developer-Guide_Build-Options/), you can choose Ubuntu series: `focal`, or Debian series: `bullseye` / `buster`, and in `BOARD`, you can choose `lepotato` / `odroidn2`, etc., You can add more setting options for `compile.sh` in `More build options` as needed. Click the ***`Run workflow`*** button. 3. Compile again: If there is an `Armbian_.*-trunk_.*.img.gz` file in [Releases](https://github.com/ophub/amlogic-s9xxx-armbian/releases), you do not need to compile it completely, you can directly use this file to `build armbian` of different soc. Select ***`Use Releases file to build armbian`*** on the [Action](https://github.com/ophub/amlogic-s9xxx-armbian/actions) page. Click the ***`Run workflow`*** button.