diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bf1f77f644b74..e536614e55afa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Free disk space run: | @@ -19,7 +19,7 @@ jobs: git libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Hook the openwrt_core URL for opkg run: | @@ -73,25 +73,25 @@ jobs: make -j$(nproc) IGNORE_ERRORS=1 - name: Upload bin to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bin-ipq50xx-arm path: bin/targets/ipq50xx/arm/* - name: Upload dl to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dl path: dl/* gh-pages: needs: [ build ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: write steps: - name: Checkout gh-pages - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: 'gh-pages' ref: 'gh-pages' @@ -113,7 +113,7 @@ jobs: git rebase --continue - name: Download bin from artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bin-ipq50xx-arm path: bin/ @@ -137,21 +137,21 @@ jobs: release: needs: [ build ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download dl from artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dl path: dl/ - name: Download bin from artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bin-ipq50xx-arm path: bin/targets/ipq50xx/arm/ diff --git a/README.md b/README.md index cf53b65cac7465..a1815cf1747ce4 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,23 @@ If you need more stable versions, please checkout the following branches which u > wireless.radio1.channel='64' > EOF > ``` +```shell +# 配置无线参数 +uci -q batch <<-EOF + wireless.radio1.country='CN' + wireless.radio1.htmode='HE160' + wireless.radio1.channel='64' +EOF + +# 提交更改并重启服务 +uci commit wireless +service network restart + +# 提示等待雷达检测 +echo "等待 1 分钟以完成雷达检测..." +sleep 60 +echo "检查 Wi-Fi 是否已启用。" +``` ## How to build